##// END OF EJS Templates
templates: removed some unused JS variables....
templates: removed some unused JS variables. - cleanup of duplicated keyboard bindings that are now set in seperate file.

File last commit:

r1:854a839a default
r1285:ef422228 default
Show More
util.py
10 lines | 211 B | text/x-python | PythonLexer
"""
Safe quoting method
"""
def safe_quote(obj):
# this is the SQLA 0.9 approach
if hasattr(obj, 'name') and hasattr(obj.name, 'quote'):
return obj.name.quote
else:
return obj.quote