Merge branch 'master' into pr-191

main
Fabien C. Y. Benureau 6 years ago
commit 2ad04e4d13
No known key found for this signature in database
GPG Key ID: C3FB5E831A249A9A

@ -202,7 +202,6 @@ class Repository(object):
"""
if not bibstruct.valid_citekey(base_key):
base_key = bibstruct.generate_citekey(bibentry)
# TODO: check that the generated citekey does not have a slash too.
for n in itertools.count():
if not base_key + _base27(n) in self.citekeys:
return base_key + _base27(n)

Loading…
Cancel
Save