Skip to content

Commit

Permalink
Fix to support set constructor in order python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
saleyn committed Apr 3, 2015
1 parent 1344185 commit a2c4020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/config_validator_codegen.py
Expand Up @@ -290,7 +290,7 @@ def expand_all_includes(self, filename, dirs=None):
self.debug(lambda:
"Loaded {0} XML files: {1}".format(
len(d), [i.encode('utf8') for i in d]))
self.check_include_loops(root, d, {filename})
self.check_include_loops(root, d, set(filename))
self.expand_includes(root, d).pop(0)
# Since includes might have made nodes non-unique, we need to add
# a surrogate unique identifier in order to check for loops in <copy> tags
Expand Down

0 comments on commit a2c4020

Please sign in to comment.