From b3100344eb6c0860e5bf26d64891e0366d5d6b25 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 3 Jan 2018 00:26:29 +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_transit_relay/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole_transit_relay/_version.py b/src/wormhole_transit_relay/_version.py index e8423db..53994fa 100644 --- a/src/wormhole_transit_relay/_version.py +++ b/src/wormhole_transit_relay/_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,