Merge "Only warn about missing map files with debug"

This commit is contained in:
Jenkins 2015-08-04 05:30:18 +00:00 committed by Gerrit Code Review
commit 7e5c1c812f

View File

@ -63,7 +63,8 @@ def main():
map_file = '/usr/share/pkg-map/%s' % args.element
if not os.path.exists(map_file):
eprint('Map file for %s element does not exist.' % args.element)
if os.environ.get('DIB_DEBUG_TRACE') != '0':
eprint('Map file for %s element does not exist.' % args.element)
if args.missing_ok:
for name in extra:
print(name)