list: s/is_factory/not_factory/ to correct variable name.

This commit is contained in:
Jimmy Berry 2017-05-11 16:02:19 -05:00
parent f2dd455d13
commit 20751a997d

View File

@ -36,7 +36,7 @@ class ListCommand:
splitter.group_by('./action/target/@devel_project')
splitter.split()
is_factory = self.api.project != 'openSUSE:Factory'
not_factory = self.api.project != 'openSUSE:Factory'
for group in sorted(splitter.grouped.keys()):
print Fore.YELLOW + group
@ -51,7 +51,7 @@ class ListCommand:
request_id, Fore.CYAN, target_package, Fore.RESET,
ring_color, ring, Fore.RESET)
if is_factory and action.find('source') != None:
if not_factory and action.find('source') != None:
source_project = action.find('source').get('project')
source_project = self.project_strip(source_project)
line += ' ({})'.format(Fore.YELLOW + source_project + Fore.RESET)