Commented-out debug print.

This commit is contained in:
Jeremy Fincher 2004-08-25 04:09:55 +00:00
parent 53d3279efc
commit d18250fb93

View File

@ -490,6 +490,7 @@ def saltHash(password, salt=None, hash='sha'):
def safeEval(s, namespace={'True': True, 'False': False, 'None': None}): def safeEval(s, namespace={'True': True, 'False': False, 'None': None}):
"""Evaluates s, safely. Useful for turning strings into tuples/lists/etc. """Evaluates s, safely. Useful for turning strings into tuples/lists/etc.
without unsafely using eval().""" without unsafely using eval()."""
#print s, '::', stackTrace()
node = compiler.parse(s) node = compiler.parse(s)
nodes = compiler.parse(s).node.nodes nodes = compiler.parse(s).node.nodes
if not nodes: if not nodes: