Correcting file open modes in lb-init.

This commit is contained in:
Daniel Baumann 2013-11-07 08:43:10 +01:00
parent d28d053e8c
commit e9b5682936
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ def main():
print('I: Downloading ' + url)
r = urllib.request.urlopen(url)
f = open('config/archives/' + target[0] + '.key', 'b+w')
f = open('config/archives/' + target[0] + '.key', 'w')
f.write(r.read())
@ -147,7 +147,7 @@ def main():
# Configuring default package lists
os.makedirs('config/package-lists', exist_ok=True)
f = open('config/package-lists/live.list.chroot', 'a')
f = open('config/package-lists/live.list.chroot', 'w')
f.write('live-boot\nlive-config\nlive-config-sysvinit\n')
f.close()