##// END OF EJS Templates
update: add new async task to check for updates via scheduler....
update: add new async task to check for updates via scheduler. - save the data into DB for later evaluation - show in system info that we know the system is outdated

File last commit:

r1:854a839a default
r2431:61a0f874 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