minor style fixes

This commit is contained in:
Mouse Reeve
2020-10-16 19:13:18 -07:00
parent d1d339225c
commit 8cf7e4405d
6 changed files with 13 additions and 12 deletions

View File

@ -11,7 +11,14 @@ localname_regex = r'(?P<username>[\w\-_]+)'
user_path = r'^user/%s' % username_regex
local_user_path = r'^user/%s' % localname_regex
status_types = ['status', 'review', 'comment', 'quotation', 'boost', 'generatedstatus']
status_types = [
'status',
'review',
'comment',
'quotation',
'boost',
'generatedstatus'
]
status_path = r'%s/(%s)/(?P<status_id>\d+)' % \
(local_user_path, '|'.join(status_types))