mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 00:11:32 +00:00
Fix silly NameError
Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
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…
x
Reference in New Issue
Block a user