mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 05:38:43 +02:00
do not compare boolean with 0
This commit is contained in:
@@ -363,7 +363,7 @@ class Osc(cmdln.Cmdln):
|
||||
print_not_found = False
|
||||
else:
|
||||
print '\n'.join(l)
|
||||
if opts.expand or opts.unexpand or link_seen == 0: break
|
||||
if opts.expand or opts.unexpand or not link_seen: break
|
||||
m = show_files_meta(conf.config['apiurl'], project, package)
|
||||
xml = ET.fromstring(''.join(m)).find('linkinfo')
|
||||
print "# -> %s %s" % (xml.get('project'), xml.get('package'))
|
||||
|
Reference in New Issue
Block a user