mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-28 15:36:13 +01:00
- support "submitreq list" also in a project
directory
This commit is contained in:
parent
6c13b8accc
commit
eb8a8bbc79
@ -501,10 +501,11 @@ class Osc(cmdln.Cmdln):
|
|||||||
if len(args) > 0:
|
if len(args) > 0:
|
||||||
project = args[0]
|
project = args[0]
|
||||||
else:
|
else:
|
||||||
# try using the working copy at hand
|
project = store_read_project(os.curdir)
|
||||||
p = findpacs(os.curdir)[0]
|
try:
|
||||||
project = p.prjname
|
package = store_read_package(os.curdir)
|
||||||
package = p.name
|
except oscerr.NoWorkingCopy:
|
||||||
|
pass
|
||||||
|
|
||||||
if len(args) > 1:
|
if len(args) > 1:
|
||||||
package = args[1]
|
package = args[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user