##// END OF EJS Templates
pull-requests: use close logic next to merge....
pull-requests: use close logic next to merge. - close and merge are both pr closing actions and should be groupped together - refresh checks also will change the approved/declined status

File last commit:

r1:854a839a default
r3977:3977ceb4 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