##// END OF EJS Templates
pr: Rename update response flag `success` -> `executed`...
pr: Rename update response flag `success` -> `executed` The name `success` may be misleading beacuse a skipped updated can be interpreted as success or failure. The new name `executed` is clearer because its only `True` if the update is really executed.

File last commit:

r1:854a839a default
r1083:1492beda 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