aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-09-14 03:21:42 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-09-14 03:21:42 -0400
commitb4b3090dd905c7f0323c446bae1155b5c4f59710 (patch)
treee4a3ac7d924251c1e9d5e621e692d6e1433701cd
parentgrs/ISOIt.py: do not remove /boot from system root. (diff)
downloadgrss-b4b3090dd905c7f0323c446bae1155b5c4f59710.tar.gz
grss-b4b3090dd905c7f0323c446bae1155b5c4f59710.tar.bz2
grss-b4b3090dd905c7f0323c446bae1155b5c4f59710.zip
grs/Interpret.py: fix medium_type for hashit.
-rw-r--r--grs/Interpret.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grs/Interpret.py b/grs/Interpret.py
index 05fdc64..b99fd35 100644
--- a/grs/Interpret.py
+++ b/grs/Interpret.py
@@ -158,6 +158,7 @@ class Interpret(Daemon):
build_script = os.path.join(libdir, 'build')
with open(build_script, 'r') as s:
line_number = 0
+ medium_type = None
for l in s.readlines():
line_number += 1
@@ -198,7 +199,6 @@ class Interpret(Daemon):
# build script are implemented. Note: 'hashit' can only come
# after 'tarit' or 'isoit' so that it knows the medium_name
# to hash, ie whether its a .tar.xz or a .iso
- medium_type = None
if verb == '':
stampit(progress)
continue