1
0
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:
Jürgen Weigert 2009-09-03 19:00:09 +00:00
parent 56d4f12dbd
commit bcb16c3320
2 changed files with 6 additions and 6 deletions

View File

@ -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']

View File

@ -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...