##// END OF EJS Templates
integrations: email, fix plural/singular case and no pushed branches case....
integrations: email, fix plural/singular case and no pushed branches case. - for git there could be a situation when we push to no branch.

File last commit:

r1:854a839a default
r2421:3ca1f08e 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