Show More
@@ -23,9 +23,10 b' import re' | |||
|
23 | 23 | import hashlib |
|
24 | 24 | import logging |
|
25 | 25 | import time |
|
26 | import functools | |
|
27 | import bleach | |
|
26 | 28 | from collections import namedtuple |
|
27 | from functools import wraps | |
|
28 | import bleach | |
|
29 | ||
|
29 | 30 | from pyramid.threadlocal import get_current_request, get_current_registry |
|
30 | 31 | |
|
31 | 32 | from rhodecode.lib import rc_cache |
@@ -325,7 +326,7 b' class SettingsModel(BaseModel):' | |||
|
325 | 326 | |
|
326 | 327 | |
|
327 | 328 | def assert_repo_settings(func): |
|
328 | @wraps(func) | |
|
329 | @functools.wraps(func) | |
|
329 | 330 | def _wrapper(self, *args, **kwargs): |
|
330 | 331 | if not self.repo_settings: |
|
331 | 332 | raise Exception('Repository is not specified') |
General Comments 0
You need to be logged in to leave comments.
Login now