aboutsummaryrefslogtreecommitdiffstats
path: root/parse/dir_map.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-03-18 13:15:42 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2013-03-18 13:15:42 -0400
commit16dfc8df20c6befeed423217a2e0f5ae59b5a04d (patch)
tree722ff18b111f6ab2fc11fffa46e78889bd2d5708 /parse/dir_map.py
parent652a57b5a53e41e585c7e0d10601c807ba08c36f (diff)
Use smarter defaults which can handle data from Bjorns scripts.
Diffstat (limited to 'parse/dir_map.py')
-rw-r--r--parse/dir_map.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse/dir_map.py b/parse/dir_map.py
index 601dd3b..a8d2a83 100644
--- a/parse/dir_map.py
+++ b/parse/dir_map.py
@@ -56,6 +56,9 @@ class DirMap(object):
56 56
57 remove_childless2(self.root) 57 remove_childless2(self.root)
58 58
59 def is_empty(self):
60 return not len(self.root.children)
61
59 def write(self, out_dir): 62 def write(self, out_dir):
60 def write2(path, node): 63 def write2(path, node):
61 out_path = "/".join(path) 64 out_path = "/".join(path)