[releng] build-current: Simplify code
Till Maas
till at fedoraproject.org
Wed Mar 11 21:46:49 UTC 2015
commit f9ac92fcc9361cbf52ea9f0742835015222d797b
Author: Till Maas <opensource at till.name>
Date: Wed Mar 11 22:47:19 2015 +0100
build-current: Simplify code
scripts/build-current.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/build-current.py b/scripts/build-current.py
index 475a795..1977ad7 100755
--- a/scripts/build-current.py
+++ b/scripts/build-current.py
@@ -244,7 +244,7 @@ for pkg in pkgs:
fname)
if not os.path.isfile(fpath):
- file = grabber.urlopen(url, progress_obj=pg, text="%s" % (fname))
+ file = grabber.urlopen(url, progress_obj=pg, text=fname)
out = os.open(fpath, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0666)
try:
while 1:
More information about the rel-eng
mailing list