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
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue