mirror of https://github.com/tLDP/python-tldp
inverted logic; caught in testing code
This commit is contained in:
parent
9721214e12
commit
ae89d6814a
|
@ -120,7 +120,7 @@ def getDocumentClasses(args):
|
||||||
sought.append(cls)
|
sought.append(cls)
|
||||||
else:
|
else:
|
||||||
sought.append(None)
|
sought.append(None)
|
||||||
remainder = set([y for x, y in zip(sought, args) if x])
|
remainder = set([y for x, y in zip(sought, args) if not x])
|
||||||
sought = set(filter(None, sought))
|
sought = set(filter(None, sought))
|
||||||
return sought, remainder
|
return sought, remainder
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue