OSDN Git Service
(root)
/
ti2
/
ti2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1260ea
)
fix JsonExporter
author
t.moriyama
<t.moriyama@users.sourceforge.jp>
Sun, 14 Jul 2013 18:59:54 +0000
(
03:59
+0900)
committer
t.moriyama
<t.moriyama@users.sourceforge.jp>
Sun, 14 Jul 2013 18:59:54 +0000
(
03:59
+0900)
linkpair/exporter/json.py
patch
|
blob
|
history
diff --git
a/linkpair/exporter/json.py
b/linkpair/exporter/json.py
index
dcde498
..
2a7b06e
100755
(executable)
--- a/
linkpair/exporter/json.py
+++ b/
linkpair/exporter/json.py
@@
-17,7
+17,7
@@
class JsonExporter(object):
json_strings = "{\n"
linkpair_index = 0
for linkpair in self._linkpairs:
- linkpair_json = "\"l
p
_" + str(linkpair_index) + "\":"
+ linkpair_json = "\"l
inkpair
_" + str(linkpair_index) + "\":"
json_strings = json_strings + linkpair_json + linkpair.to_json() + ",\n"
linkpair_index += 1
json_strings = json_strings.rstrip(",\n") + "\n}"