Merge pull request #1778 from coolo/fix_untracked_in_adi

adi: Fix format for untracked requests
This commit is contained in:
Stephan Kulow 2018-11-09 08:50:52 +01:00 committed by GitHub
commit 3aae284ff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ class AdiCommand:
return
if len(info['untracked_requests']):
print(query_project + " " + Fore.YELLOW + 'untracked: ' + ', '.join(['{}[{}]'.format(
Fore.CYAN + req['package'] + Fore.RESET + " " + req['number']) for req in info['untracked_requests']]))
Fore.CYAN + req['package'] + Fore.RESET, req['number']) for req in info['untracked_requests']]))
return
if len(info['obsolete_requests']):
print(query_project + " " + Fore.YELLOW + 'obsolete: ' + ', '.join(['{}[{}]'.format(