mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-14 20:51:11 +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")
|
||||
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