summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-10-25 12:23:11 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-10-30 10:28:20 +0900
commit1d947b30342163b723c96db563967323535fef45 (patch)
treeb6b02d02df01792b356b9e50ceeaadcaf3a2e8c5 /command.py
parent2d113f35460051823ea54d61c5c939565518f969 (diff)
downloadgit-repo-1d947b30342163b723c96db563967323535fef45.tar.gz
Even more coding style cleanup
Fixing some more pylint warnings: W1401: Anomalous backslash in string W0623: Redefining name 'name' from outer scope W0702: No exception type(s) specified E0102: name: function already defined line n Change-Id: I5afcdb4771ce210390a79981937806e30900a93c
Diffstat (limited to 'command.py')
-rw-r--r--command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.py b/command.py
index 0c3b360c..babb8338 100644
--- a/command.py
+++ b/command.py
@@ -71,7 +71,7 @@ class Command(object):
71 groups = mp.config.GetString('manifest.groups') 71 groups = mp.config.GetString('manifest.groups')
72 if not groups: 72 if not groups:
73 groups = 'all,-notdefault,platform-' + platform.system().lower() 73 groups = 'all,-notdefault,platform-' + platform.system().lower()
74 groups = [x for x in re.split('[,\s]+', groups) if x] 74 groups = [x for x in re.split(r'[,\s]+', groups) if x]
75 75
76 if not args: 76 if not args:
77 for project in all_projects.values(): 77 for project in all_projects.values():