Remove unnecessary check for the "name" key

This commit is contained in:
Bo Maryniuk 2016-01-13 17:03:20 +01:00
parent e5b3e77186
commit b68e1228e9

View file

@ -478,8 +478,6 @@ def info(*packages, **attr):
if len(line) != 2:
continue
key, value = line
if key != 'name' and filter_attrs and key not in filter_attrs:
continue
if key == 'description':
descr_marker = True
continue