hash attribute values as tuples instead of stringifying on SOH char

This commit is contained in:
Pedro Silva 2015-03-27 11:48:51 +01:00
parent fb0e03dd6b
commit 9999460cb4

View file

@ -94,7 +94,7 @@ def _group_by(objs, keys, strict, log):
'skipping',
keys, displayable_path(obj.path))
else:
key = '\001'.join(values)
key = tuple(values)
counts[key].append(obj)
return counts