aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-06-02 10:22:21 -0400
committerCorey Farwell <coreyf@rwell.org>2015-06-02 11:29:54 -0400
commit7137b0610c4d71657fb1d37f44460781db6af017 (patch)
treeaa1c32743630565a6c60dcd4f0595a377a2d57d2 /python
parentf6fe1953343a417b62fb310a380af7c6973849b0 (diff)
downloadservo-7137b0610c4d71657fb1d37f44460781db6af017.tar.gz
servo-7137b0610c4d71657fb1d37f44460781db6af017.zip
Remove trailing whitespace on Python files
Trailing whitespace was found using flake8 This is working towards making flake8 part of the tidy process: #6236
Diffstat (limited to 'python')
-rw-r--r--python/servo/build_commands.py4
-rw-r--r--python/servo/devenv_commands.py10
2 files changed, 7 insertions, 7 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index fd36afec812..77f7d1b7a2d 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -148,7 +148,7 @@ class MachCommands(CommandBase):
if self.config["build"]["mode"] == "dev":
dev = True
elif self.config["build"]["mode"] == "release":
- release = True
+ release = True
elif release_exists and not dev_exists:
release = True
elif dev_exists and not release_exists:
@@ -320,7 +320,7 @@ class MachCommands(CommandBase):
@CommandArgument('--verbose', '-v',
action='store_true',
help='Print verbose output')
-
+
@CommandArgument('params', nargs='...',
help="Command-line arguments to be passed through to Cargo")
def clean(self, manifest_path, params, verbose=False):
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py
index 0c05229938a..f061d79675c 100644
--- a/python/servo/devenv_commands.py
+++ b/python/servo/devenv_commands.py
@@ -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)