future print

This commit is contained in:
Michael Davidsaver
2013-04-06 21:24:24 -04:00
parent 01acc29c79
commit 3601974986
3 changed files with 12 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
from __future__ import print_function
try:
import _dbapi
except ImportError:
@@ -40,5 +42,5 @@ def debugHooks():
"""
for h in hooknames:
def _showstate(state=h):
print 'Reached state',state
print('Reached state',state)
addHook(h, _showstate)