mirror of
https://github.com/openSUSE/osc.git
synced 2025-10-04 00:29:19 +02:00
Add --watch for osc prjresults --xml
Like: osc results --watch
This commit is contained in:
@@ -5777,7 +5777,7 @@ def get_results(apiurl, project, package, verbose=False, printJoin='', *args, **
|
||||
return r
|
||||
|
||||
|
||||
def get_package_results(apiurl, project, package, wait=False, *args, **kwargs):
|
||||
def get_package_results(apiurl, project, package=None, wait=False, *args, **kwargs):
|
||||
"""generator that returns a the package results as an xml structure"""
|
||||
xml = ''
|
||||
waiting_states = ('blocked', 'scheduled', 'dispatching', 'building',
|
||||
|
Reference in New Issue
Block a user