##// END OF EJS Templates
reviewers: moved the new v1 api of default reviewers into pyramid view....
reviewers: moved the new v1 api of default reviewers into pyramid view. - updated schema - updated logic of routing so EE can override it.

File last commit:

r1:854a839a default
r1767:dee6c9db 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