equal
deleted
inserted
replaced
56 ctl.run() |
56 ctl.run() |
57 |
57 |
58 .. BUG file with one column are not parsable |
58 .. BUG file with one column are not parsable |
59 .. TODO rollback() invocation is not possible yet |
59 .. TODO rollback() invocation is not possible yet |
60 """ |
60 """ |
|
61 from __future__ import print_function |
61 |
62 |
62 import sys |
63 import sys |
63 import traceback |
64 import traceback |
64 from StringIO import StringIO |
65 from StringIO import StringIO |
65 |
66 |
101 yield dict(zip(headers, row)) |
102 yield dict(zip(headers, row)) |
102 |
103 |
103 |
104 |
104 @deprecated('[3.21] deprecated') |
105 @deprecated('[3.21] deprecated') |
105 def tell(msg): |
106 def tell(msg): |
106 print msg |
107 print(msg) |
107 |
108 |
108 |
109 |
109 @deprecated('[3.21] deprecated') |
110 @deprecated('[3.21] deprecated') |
110 def confirm(question): |
111 def confirm(question): |
111 """A confirm function that asks for yes/no/abort and exits on abort.""" |
112 """A confirm function that asks for yes/no/abort and exits on abort.""" |