Merge "Don't print trace unless trace is on in pkg-map"
This commit is contained in:
commit
7b20224cd6
@ -63,7 +63,7 @@ def main():
|
|||||||
|
|
||||||
map_file = '/usr/share/pkg-map/%s' % args.element
|
map_file = '/usr/share/pkg-map/%s' % args.element
|
||||||
if not os.path.exists(map_file):
|
if not os.path.exists(map_file):
|
||||||
if os.environ.get('DIB_DEBUG_TRACE') != '0':
|
if os.environ.get('DIB_DEBUG_TRACE', '0') != '0':
|
||||||
eprint('Map file for %s element does not exist.' % args.element)
|
eprint('Map file for %s element does not exist.' % args.element)
|
||||||
if args.missing_ok:
|
if args.missing_ok:
|
||||||
for name in extra:
|
for name in extra:
|
||||||
|
Loading…
Reference in New Issue
Block a user