summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-10-25 12:40:51 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-07 08:39:57 +0900
commit7e6dd2dff012062b8dd812f923339790323b3840 (patch)
tree0ca1a9e444eb7ebfa40d79ade53939da187da791 /project.py
parente072a92a9bb9fdf61bbd1df4e8864f8fd52d5a82 (diff)
downloadgit-repo-7e6dd2dff012062b8dd812f923339790323b3840.tar.gz
Fix pylint warning W0108: Lambda may not be necessary
Remove unnecessary usage of lambda. Change-Id: I06d41933057d60d15d307ee800cca052a44754c6
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index cdb4ecfd..f72b1c8e 100644
--- a/project.py
+++ b/project.py
@@ -1175,7 +1175,7 @@ class Project(object):
1175 cmd = ['fetch', remote.name] 1175 cmd = ['fetch', remote.name]
1176 cmd.append('refs/changes/%2.2d/%d/%d' \ 1176 cmd.append('refs/changes/%2.2d/%d/%d' \
1177 % (change_id % 100, change_id, patch_id)) 1177 % (change_id % 100, change_id, patch_id))
1178 cmd.extend(map(lambda x: str(x), remote.fetch)) 1178 cmd.extend(map(str, remote.fetch))
1179 if GitCommand(self, cmd, bare=True).Wait() != 0: 1179 if GitCommand(self, cmd, bare=True).Wait() != 0:
1180 return None 1180 return None
1181 return DownloadedChange(self, 1181 return DownloadedChange(self,