Remove trailing whitespace on Python files

Trailing whitespace was found using flake8

This is working towards making flake8 part of the tidy process: #6236
This commit is contained in:
Corey Farwell 2015-06-02 10:22:21 -04:00
parent f6fe195334
commit 7137b0610c
2 changed files with 7 additions and 7 deletions

View file

@ -39,10 +39,10 @@ class MachCommands(CommandBase):
'params', default=None, nargs='...',
help='Command-line arguments to be passed through to cargo update')
@CommandArgument(
'--package', '-p', default=None,
'--package', '-p', default=None,
help='Updates selected package')
@CommandArgument(
'--all-packages','-a',action='store_true',
'--all-packages','-a',action='store_true',
help='Updates all packages')
def cargo_update(self, params=None, package=None, all_packages=None):
self.update_cargo(params, package, all_packages)
@ -54,10 +54,10 @@ class MachCommands(CommandBase):
'params', default=None, nargs='...',
help='Command-line arguments to be passed through to cargo update')
@CommandArgument(
'--package','-p',default=None,
'--package','-p',default=None,
help='Updates selected package')
@CommandArgument(
'--all-packages','-a',action='store_true',
'--all-packages','-a',action='store_true',
help='Updates all packages')
def update_cargo(self, params=None, package=None, all_packages=None):
if not params:
@ -68,7 +68,7 @@ class MachCommands(CommandBase):
elif all_packages:
params = []
else:
print("Please choose package to update with the --package (-p) ")
print("Please choose package to update with the --package (-p) ")
print("flag or update all packages with --all-packages (-a) flag")
sys.exit(1)