##// END OF EJS Templates
repo-groups: implemented default personal repo groups logic....
repo-groups: implemented default personal repo groups logic. - fixes #4003 - adds new settings to automatically create personal repo groups for users on API cal, add user form, registration - it's possible to create a pattern based repo group for example /u/{username}

File last commit:

r1:854a839a default
r1094:6b71b2c4 default
Show More
util.py
10 lines | 211 B | text/x-python | PythonLexer
project: added all source files and assets
r1 """
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