aboutsummaryrefslogtreecommitdiff
path: root/treeprint.py
diff options
context:
space:
mode:
authorMark E. Shoulson <mark@kli.org>2017-02-28 09:05:32 -0500
committerMark E. Shoulson <mark@kli.org>2017-02-28 09:05:32 -0500
commita6419c09b6ef2c66e75e580cb9aea314e28e8721 (patch)
treebf06849acb549f8e47ea1d4803bbe438a8518c53 /treeprint.py
parentAdded more emoji, including big lists of (raw) new characters from other bloc... (diff)
parentMerge branch 'master' of github.com:kragen/xcompose (diff)
downloaddotXCompose-a6419c09b6ef2c66e75e580cb9aea314e28e8721.tar.gz
dotXCompose-a6419c09b6ef2c66e75e580cb9aea314e28e8721.tar.bz2
dotXCompose-a6419c09b6ef2c66e75e580cb9aea314e28e8721.zip
Merge branch 'master' of ssh://ftp.meson.org/home/mark/xcompose
Diffstat (limited to 'treeprint.py')
-rwxr-xr-xtreeprint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/treeprint.py b/treeprint.py
index adaaf1e..bba74a3 100755
--- a/treeprint.py
+++ b/treeprint.py
@@ -48,7 +48,7 @@ def showdict(data, indent):
print ""
showdict(value, abs(indent)+4),
else:
- showdict(value, -abs(indent+4)),
+ showdict(value, -(abs(indent)+4)),
else:
print " "+value.encode('utf-8'),
if "-n" in sys.argv: