Removed print debug statements (django will crash if you attempt to write to stdout)

svn: r13953
This commit is contained in:
Doug Blank
2010-01-01 15:42:31 +00:00
parent c800392ffd
commit 2593e8d340
2 changed files with 3 additions and 13 deletions
src/web

@ -27,6 +27,7 @@
#
#------------------------------------------------------------------------
import locale
import sys
#------------------------------------------------------------------------
#
@ -110,10 +111,10 @@ def get_person_from_handle(db, handle):
try:
return db.get_person_from_handle(handle)
except:
print "error in get_person_from_handle:"
print >> sys.stderr, "error in get_person_from_handle:"
import sys, traceback
cla, exc, trbk = sys.exc_info()
print _("Error") + (" : %s %s" %(cla, exc))
print >> sys.stderr, _("Error") + (" : %s %s" %(cla, exc))
traceback.print_exc()
return None