diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-11-18 20:21:06 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-11-18 20:21:06 +0100 |
commit | 4c95ff7709ac5611245c815db4d48680fd84c79b (patch) | |
tree | 356c3d3b5edbf9f45bb531711f21d4e50795ea6b /format.py | |
parent | a570ba46108971fdc7d0156a24d0678764fda3e3 (diff) | |
download | clufter-4c95ff7709ac5611245c815db4d48680fd84c79b.tar.gz clufter-4c95ff7709ac5611245c815db4d48680fd84c79b.tar.xz clufter-4c95ff7709ac5611245c815db4d48680fd84c79b.zip |
format: enforce solely xml_root at the walk tree root
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'format.py')
-rw-r--r-- | format.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -248,6 +248,7 @@ class XML(Format): # at root, we do not traverse to any other dir than `xml_root` map(lambda d: d != xml_root and dirs.remove(d), dirs[:]) current_tracking = tree_stack[-1][2] + files = [] for i in dirs + files: name, ext = splitext(i) # does not hurt even if it is a dir |