git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make syncbin to also push keyconvert.py
[sfa.git]
/
sfatables
/
pretty.py
diff --git
a/sfatables/pretty.py
b/sfatables/pretty.py
index
87e74fb
..
77e1004
100644
(file)
--- a/
sfatables/pretty.py
+++ b/
sfatables/pretty.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
2
+#!/usr/bin/env python
3
class Pretty:
rows = []
@@
-19,7
+19,7
@@
class Pretty:
return
def pprint (self):
- print
'\n'
+ print
('\n')
for rule in self.rows:
cur_line = ""
@@
-33,6
+33,6
@@
class Pretty:
cur_line = cur_line + padding
num = num + 1
- print
cur_line
+ print
(cur_line)