mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-12-02 05:23:41 +08:00
Merge pull request #113 from trapexit/git2dbcl
use correct variable for finding version
This commit is contained in:
commit
22d254e8df
|
@ -79,7 +79,7 @@ if args.version == '::guess::':
|
||||||
tags = git_tags()
|
tags = git_tags()
|
||||||
|
|
||||||
if args.version in tags:
|
if args.version in tags:
|
||||||
idx = tags.index(version)
|
idx = tags.index(args.version)
|
||||||
tags = tags[idx:]
|
tags = tags[idx:]
|
||||||
tags = zip(tags,tags)
|
tags = zip(tags,tags)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user