Skip to content

Commit 60dcc93

Browse files
committed
scripts/koji/koji_import_rpms.py: fix python3 execution
Signed-off-by: Samuel Verschelde <[email protected]>
1 parent 47b4417 commit 60dcc93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/koji/koji_import_rpms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def get_srpm_info(srpmpath):
10-
return subprocess.check_output(['rpm', '-qp', srpmpath, '--qf', '%{name};;%{nvr}']).split(';;')
10+
return subprocess.check_output(['rpm', '-qp', srpmpath, '--qf', '%{name};;%{nvr}']).decode().split(';;')
1111

1212
def check_dir(dirpath):
1313
if not os.path.isdir(dirpath):

0 commit comments

Comments
 (0)