mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
remove unused variable detected by pyflakes
This commit is contained in:
parent
f3246a9ca0
commit
4911510e0d
@ -136,7 +136,7 @@ from allmydata.util import verlib
|
||||
def normalized_version(verstr, what=None):
|
||||
try:
|
||||
return verlib.NormalizedVersion(verlib.suggest_normalized_version(verstr))
|
||||
except (StandardError, verlib.IrrationalVersionError), e:
|
||||
except (StandardError, verlib.IrrationalVersionError):
|
||||
cls, value, traceback = sys.exc_info()
|
||||
raise PackagingError, ("could not parse %s due to %s: %s"
|
||||
% (what or repr(verstr), cls.__name__, value)), traceback
|
||||
|
Loading…
x
Reference in New Issue
Block a user