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
This commit is contained in:
David Pursehouse
2012-10-25 12:23:11 +09:00
parent 2d113f3546
commit 1d947b3034
12 changed files with 24 additions and 24 deletions

View File

@ -71,7 +71,7 @@ class Command(object):
groups = mp.config.GetString('manifest.groups')
if not groups:
groups = 'all,-notdefault,platform-' + platform.system().lower()
groups = [x for x in re.split('[,\s]+', groups) if x]
groups = [x for x in re.split(r'[,\s]+', groups) if x]
if not args:
for project in all_projects.values():