Minor: removes todo comment about implemented case

main
Olivier Mangin 6 years ago
parent 3b6751ea1b
commit 07c002503b
No known key found for this signature in database
GPG Key ID: D72FEC1C3120A884

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

Loading…
Cancel
Save