use correct variable for finding version

This commit is contained in:
Antonio SJ Musumeci 2015-09-02 08:02:12 -04:00
parent 908a2f61f7
commit aea5e440d7

View File

@ -79,7 +79,7 @@ if args.version == '::guess::':
tags = git_tags()
if args.version in tags:
idx = tags.index(version)
idx = tags.index(args.version)
tags = tags[idx:]
tags = zip(tags,tags)
else: