commit: b4b3090dd905c7f0323c446bae1155b5c4f59710
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 14 07:21:42 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 07:21:42 2015 +0000
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=b4b3090d
grs/Interpret.py: fix medium_type for hashit.
grs/Interpret.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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