Merge branch 'maint-1.6.0' into maint-1.6.1
* maint-1.6.0: import-zips: fix thinko
This commit is contained in:
commit
8e4f767ba7
@ -44,7 +44,8 @@ for zipfile in argv[1:]:
|
||||
common_prefix = name[:name.rfind('/') + 1]
|
||||
else:
|
||||
while not name.startswith(common_prefix):
|
||||
common_prefix = name[:name.rfind('/') + 1]
|
||||
last_slash = common_prefix[:-1].rfind('/') + 1
|
||||
common_prefix = common_prefix[:last_slash]
|
||||
|
||||
mark[name] = ':' + str(next_mark)
|
||||
next_mark += 1
|
||||
|
Loading…
Reference in New Issue
Block a user