Mercurial > hg > truffle
diff mxtool/mx.py @ 18620:23de014b38ab
mx: fix missing frozenset constructor to fix intersection
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Thu, 04 Dec 2014 19:50:39 +0100 |
parents | 7d8270532cd9 |
children | a8b46348b79f |
line wrap: on
line diff
--- a/mxtool/mx.py Thu Dec 04 16:12:03 2014 +0100 +++ b/mxtool/mx.py Thu Dec 04 19:50:39 2014 +0100 @@ -880,7 +880,7 @@ if not existing: suite[s] = additional else: - conflicting = additional.keys() & existing.keys() + conflicting = frozenset(additional.keys()) & frozenset(existing.keys()) if conflicting: abort(modulePath + ' redefines: ' + ', '.join(conflicting)) existing.update(additional)