mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-12 20:01:08 +00:00
Fix silly NameError
Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
f637e88086
commit
b9f30120ad
@ -762,7 +762,7 @@ class Britney(object):
|
||||
"""
|
||||
filename = os.path.join(basedir, "Dates")
|
||||
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):
|
||||
f.write("%s %s %d\n" % ((pkg,) + dates[pkg]))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user