Minor: removes todo comment about implemented case

This commit is contained in:
Olivier Mangin 2019-03-19 22:27:57 -07:00
parent 3b6751ea1b
commit 07c002503b
No known key found for this signature in database
GPG Key ID: D72FEC1C3120A884

View File

@ -200,7 +200,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)