More comments
This commit is contained in:
parent
cf136d31c1
commit
60d5c26854
@ -9,6 +9,9 @@ class ListCommand:
|
|||||||
self.api = api
|
self.api = api
|
||||||
|
|
||||||
def perform(self):
|
def perform(self):
|
||||||
|
"""
|
||||||
|
Perform the list command
|
||||||
|
"""
|
||||||
self.packages_staged = dict()
|
self.packages_staged = dict()
|
||||||
for prj in self.api.get_staging_projects():
|
for prj in self.api.get_staging_projects():
|
||||||
meta = self.api.get_prj_pseudometa(prj)
|
meta = self.api.get_prj_pseudometa(prj)
|
||||||
@ -27,6 +30,10 @@ class ListCommand:
|
|||||||
print("osc staging select {} {}".format(letter, ' '.join(reqs)))
|
print("osc staging select {} {}".format(letter, ' '.join(reqs)))
|
||||||
|
|
||||||
def one_request(self, request):
|
def one_request(self, request):
|
||||||
|
"""
|
||||||
|
Process one request potentially to be listed
|
||||||
|
:param request: request to process
|
||||||
|
"""
|
||||||
rq_id = int(request.get('id'))
|
rq_id = int(request.get('id'))
|
||||||
actions = request.findall('action')
|
actions = request.findall('action')
|
||||||
act = actions[0]
|
act = actions[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user