Skip to content

Commit 003c132

Browse files
authored
Merge pull request openSUSE#1965 from dmach/fix-osc-buildlog-arch
Fix retrieving 'arch' argument in 'osc buildlog'
2 parents 6271222 + dec8c2b commit 003c132

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)