patch the -a selection option

This commit is contained in:
2009-12-17 21:10:24 +00:00
parent d4c180122f
commit 8c593bfb13

View File

@ -128,7 +128,7 @@ def filterGenerator(options):
if good and hasattr(options, 'attributePatterns'):
good = (reduce(lambda x,y : x and y,
(bool(options.attributePatterns[p].search(seq[p]))
(bool(options.attributePatterns[p].search(str(seq[p])))
for p in options.attributePatterns
if p in seq),True)
and