Skip to content

Commit dec8c2b

Browse files
committed
Fix retrieving 'arch' argument in 'osc buildlog'
1 parent 6271222 commit dec8c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osc/commandline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6728,7 +6728,7 @@ def do_buildlog(self, subcmd, opts, *args):
67286728
elif len(args) > 4:
67296729
raise oscerr.WrongArgs('Too many arguments.')
67306730
else:
6731-
arch = args[1]
6731+
arch = args[3]
67326732
else:
67336733
store = osc_store.get_store(Path.cwd())
67346734
store.assert_is_package()

0 commit comments

Comments
 (0)