Skip to content

Commit 96959f1

Browse files
author
Sergej Jovanovic
committedApr 24, 2019
Added new line at the end of python files
1 parent cd61036 commit 96959f1

15 files changed

+25
-15
lines changed
 

‎backup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,5 @@ def run(cls, target, platform, cpu, configuration):
7878
if ret != NO_ERROR:
7979
cls.logger.error('Backup failed!')
8080

81-
return ret
81+
return ret
82+

‎cleanup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,5 @@ def run(cls, action, target='*', platform='*', cpu='*', configuration='*'):
252252
else:
253253
cls.logger.error(error_codes[ret])
254254
cls.logger.error('Cleanup action ' + action + ' has failed for ' + target + ' ' + platform + ' ' + cpu + ' ' + configuration)
255-
return ret
255+
return ret
256+

‎config.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -312,4 +312,5 @@
312312
UNIT_TEST_RETRY_NUMBER_FALIED_TESTS = 5
313313

314314
ACTION_START_MESSAGE = '\n===================================== [ACTION] STARTED =====================================\n'
315-
ACTION_END_MESSAGE = '\n====================================== [ACTION] ENDED ======================================\n'
315+
ACTION_END_MESSAGE = '\n====================================== [ACTION] ENDED ======================================\n'
316+

‎consts.py

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@
1111
ACTION_RUN_UNITTESTS = 'rununittests'
1212

1313
MAX_SDK_ROOT_PATH_LENGTH = 64
14-

‎defaults.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,5 @@
213213
'webrtc_nonparallel_tests' : ['*'],
214214
'webrtc_opus_fec_test' : ['*'],
215215
'webrtc_perf_tests' : ['*'],
216-
}
216+
}
217+

‎errors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@
114114
ERROR_UNIT_TESTS_EXECUTION_FAILED : 'Unit tests execution has failed!',
115115
ERROR_UNIT_TEST_FAILED : 'One or more unit tests has failed!',
116116
TERMINATED_BY_USER : 'Execution terminated by user!'
117-
}
117+
}

‎helper.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,5 @@ def remove_carriage_return(str):
101101
str = str[:-2]
102102
if str.endswith("\n") or str.endswith("\r"):
103103
str = str[:-1]
104-
return str
104+
return str
105+

‎inputHandler.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ def parseInput(cls,inputArgs):
5555

5656
parser.add_argument('--unitTests', nargs='*', help='Unit tests to run.')
5757

58-
Settings.inputArgs = parser.parse_args()
58+
Settings.inputArgs = parser.parse_args()
59+

‎nugetUtility.py

-1
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,3 @@ def add_nuget_local_source(cls, name='Local_NuGet_packages'):
160160
cls.logger.warning(cls.set_source_instruction+srcPath)
161161
except Exception as error:
162162
cls.logger.error(str(error))
163-

‎prepare.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -317,4 +317,5 @@ def copyAppRuntimeDlls(cls, cpu, configuration, destinatioPath):
317317
cls.logger.warning('Following dlls are not found: ' + ''.join([file for file in listOfFilesToSearch]))
318318
return False
319319

320-
return True
320+
return True
321+

‎repoCheck.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,5 @@ def main():
127127

128128

129129

130-
if __name__ =='__main__': main()
130+
if __name__ =='__main__': main()
131+

‎run.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,5 @@ def main():
347347

348348
if __name__ =='__main__':
349349
if System.checkIsPythonVersionSupported() == True:
350-
main()
350+
main()
351+

‎settings.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,5 @@ def getGnOutputPath(cls, path, target, platform, cpu, configuration):
233233
:return outputPath: Return output path relative to to root webrt folder
234234
"""
235235
outputPath = config.GN_TARGET_OUTPUT_PATH.replace('[GN_OUT]', path).replace('[TARGET]',target).replace('[PLATFORM]',platform).replace('[CPU]',cpu).replace('[CONFIGURATION]',configuration)
236-
return convertToPlatformPath(outputPath)
236+
return convertToPlatformPath(outputPath)
237+

‎unitTestRunner.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,5 @@ def runUnitTestSubprocess(cls, unittest, logToFile = '', appendToFile = False):
253253
if result != NO_ERROR:
254254
cls.logger.error(error_codes[result])
255255

256-
return result
256+
return result
257+

‎utility.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -583,4 +583,5 @@ def checkIfFolderContainsFiles(cls, folderPath, fileNames):
583583
destinationFile = os.path.join(folderPath, file)
584584
ret = ret and os.path.isfile(destinationFile)
585585

586-
return ret
586+
return ret
587+

0 commit comments

Comments
 (0)
Please sign in to comment.