mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +01:00
Commented-out debug print.
This commit is contained in:
parent
53d3279efc
commit
d18250fb93
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user