summaryrefslogtreecommitdiffstats
path: root/g2h/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'g2h/tree.py')
-rw-r--r--g2h/tree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/g2h/tree.py b/g2h/tree.py
new file mode 100644
index 0000000..bd8116c
--- /dev/null
+++ b/g2h/tree.py
@@ -0,0 +1,2 @@
+def safe_join(tree, path):
+ return tree.join(path) if path else tree