1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- fixed #713178 ("osc getbinaries in project scope throws error")

This commit is contained in:
Marcus Huewe 2011-11-18 21:51:03 +01:00
parent 64224f9668
commit da88ec0a39

View File

@ -5496,7 +5496,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
package = args[1]
repository = args[2]
architecture = args[3]
elif len(args) <= 2:
elif len(args) >= 1 and len(args) <= 2:
if is_package_dir(os.getcwd()):
project = store_read_project(os.curdir)
package = store_read_package(os.curdir)