From c6fbaf5a4de1e9604534cbcc758bdba011686d09 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 2 Jan 2018 08:19:08 +0100 Subject: [PATCH] _version.py: hush lgtm.com alert This needs to be upstreamed into Versioneer, as it will disappear the next time we upgrade. --- src/wormhole/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole/_version.py b/src/wormhole/_version.py index 15f9f2a..b18ba9f 100644 --- a/src/wormhole/_version.py +++ b/src/wormhole/_version.py @@ -495,7 +495,7 @@ def get_versions(): # versionfile_source is the relative path from the top of the source # tree (where the .git directory might live) to this file. Invert # this to find the root from __file__. - for i in cfg.versionfile_source.split('/'): + for _ in cfg.versionfile_source.split('/'): root = os.path.dirname(root) except NameError: return {"version": "0+unknown", "full-revisionid": None,