Merge "Don't print trace unless trace is on in pkg-map"

This commit is contained in:
Jenkins 2015-12-22 22:02:09 +00:00 committed by Gerrit Code Review
commit 7b20224cd6

View File

@ -63,7 +63,7 @@ def main():
map_file = '/usr/share/pkg-map/%s' % args.element
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)
if args.missing_ok:
for name in extra: