summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-03 15:20:08 +0200
committerPatrick Simianer <p@simianer.de>2014-06-03 15:20:08 +0200
commit85ea0fc5e3ae7ea646cc6e843d01939b4d8e4dbf (patch)
treeb056f5da90f81131df71650b90eb789ef42fa591
parentde3137d5dbb2dadd799312e1d2b3cb6ddce4a23d (diff)
withdraw previous change
-rwxr-xr-xhg2json.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/hg2json.py b/hg2json.py
index fc9ba2b..5bd5c2c 100755
--- a/hg2json.py
+++ b/hg2json.py
@@ -30,9 +30,6 @@ def hg2json(hg, weights):
for i in hg.edges:
s = "{"
s += '"head":"%s"'%(i.head_node.id)
- s += ', "rule":"%s"'%(i.trule)
- s += ', "left":%d'%(i.span[0])
- s += ', "right":%d'%(i.span[1])
xs = ' "f":{'
b = []
for j in i.feature_values: