mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
more tabs expanded
This commit is contained in:
parent
56d4f12dbd
commit
bcb16c3320
@ -157,7 +157,7 @@ class Pac:
|
||||
|
||||
self.mp['filename'] = self.filename
|
||||
if self.mp['repopackage'] == '_repository':
|
||||
self.mp['repofilename'] = self.mp['name']
|
||||
self.mp['repofilename'] = self.mp['name']
|
||||
else:
|
||||
self.mp['repofilename'] = self.mp['filename']
|
||||
|
||||
|
10
osc/core.py
10
osc/core.py
@ -3749,12 +3749,12 @@ def search(apiurl, search_list, kind, search_term, verbose = False, exact_matche
|
||||
result = []
|
||||
for node in root.findall(kind):
|
||||
if role_filter:
|
||||
skip = 1
|
||||
skip = 1
|
||||
for p in node.findall('person'):
|
||||
if p.get('userid') == role_filter[0] and p.get('role') == role_filter[1]:
|
||||
skip = 0
|
||||
if skip:
|
||||
continue
|
||||
if p.get('userid') == role_filter[0] and p.get('role') == role_filter[1]:
|
||||
skip = 0
|
||||
if skip:
|
||||
continue
|
||||
|
||||
# TODO: clarify if we need to check if node.get() returns 'None'.
|
||||
# If it returns 'None' something is broken anyway...
|
||||
|
Loading…
Reference in New Issue
Block a user