diff options
author | Stefan Beller <sbeller@google.com> | 2016-06-21 11:48:57 -0700 |
---|---|---|
committer | Stefan Beller <sbeller@google.com> | 2016-06-21 11:48:57 -0700 |
commit | 9d2b14d2ec39245103e9ceb664afb5f0227d9056 (patch) | |
tree | 505f7aa22c7aaf9082377dc534ac835020f8dd7d /gitc_utils.py | |
parent | 6685106306550c6bf2ad68887efc1d075a6f72eb (diff) | |
download | git-repo-9d2b14d2ec39245103e9ceb664afb5f0227d9056.tar.gz |
pylint: Fix unused-{argument,variable} warning
This commit fixes 4 out of the remaining 5 pylint warnings:
$ pylint --rcfile=.pylintrc *.py
************* Module gitc_utils
W:146, 0: TODO(sbasi/jorg): Come up with a solution to remove the sleep below. (fixme)
W:130, 6: Unused variable 'name' (unused-variable)
************* Module main
W:382,32: Unused argument 'fp' (unused-argument)
W:382,36: Unused argument 'code' (unused-argument)
W:382,42: Unused argument 'msg' (unused-argument)
Change-Id: Ie3d77b9a65b7daefaa9aa4b80f4b682c1678fd58
Signed-off-by: Stefan Beller <sbeller@google.com>
Diffstat (limited to 'gitc_utils.py')
-rw-r--r-- | gitc_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitc_utils.py b/gitc_utils.py index 0f3e1818..a388dc27 100644 --- a/gitc_utils.py +++ b/gitc_utils.py | |||
@@ -127,7 +127,7 @@ def generate_gitc_manifest(gitc_manifest, manifest, paths=None): | |||
127 | repo_proj.revisionExpr = None | 127 | repo_proj.revisionExpr = None |
128 | 128 | ||
129 | # Convert URLs from relative to absolute. | 129 | # Convert URLs from relative to absolute. |
130 | for name, remote in manifest.remotes.iteritems(): | 130 | for _name, remote in manifest.remotes.iteritems(): |
131 | remote.fetchUrl = remote.resolvedFetchUrl | 131 | remote.fetchUrl = remote.resolvedFetchUrl |
132 | 132 | ||
133 | # Save the manifest. | 133 | # Save the manifest. |