Only warn about missing map files with debug
This is a very typical warning, lets only print it out when we have debug turned on. Change-Id: I93c5be5e328305ac3515b4d983835add05cadf8f
This commit is contained in:
parent
d748aa17d2
commit
1a1dd59e33
@ -63,7 +63,8 @@ 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):
|
||||||
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:
|
if args.missing_ok:
|
||||||
for name in extra:
|
for name in extra:
|
||||||
print(name)
|
print(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user