Fix silly NameError

Signed-off-by: Julien Cristau <jcristau@debian.org>
bzr-import-20160707
Julien Cristau 10 years ago committed by Niels Thykier
parent 14107520d7
commit d127ac65ae

@ -762,7 +762,7 @@ class Britney(object):
""" """
filename = os.path.join(basedir, "Dates") filename = os.path.join(basedir, "Dates")
self.__log("Writing upload data to %s" % filename) self.__log("Writing upload data to %s" % filename)
with open(filename, 'w', encoding='utf-8'): with open(filename, 'w', encoding='utf-8') as f:
for pkg in sorted(dates): for pkg in sorted(dates):
f.write("%s %s %d\n" % ((pkg,) + dates[pkg])) f.write("%s %s %d\n" % ((pkg,) + dates[pkg]))

Loading…
Cancel
Save