Show More
@@ -1656,10 +1656,7 b' class CacheInvalidation(Base, BaseModel)' | |||||
1656 | Guess prefix that might have been used in _get_cache_key to generate self.cache_key . |
|
1656 | Guess prefix that might have been used in _get_cache_key to generate self.cache_key . | |
1657 | Only used for informational purposes in repo_edit.html . |
|
1657 | Only used for informational purposes in repo_edit.html . | |
1658 | """ |
|
1658 | """ | |
1659 |
|
|
1659 | return self.cache_key.split(self.cache_args, 1)[0] | |
1660 | if len(_split) == 2: |
|
|||
1661 | return _split[0] |
|
|||
1662 | return '' |
|
|||
1663 |
|
1660 | |||
1664 | @classmethod |
|
1661 | @classmethod | |
1665 | def _get_cache_key(cls, key): |
|
1662 | def _get_cache_key(cls, key): |
General Comments 0
You need to be logged in to leave comments.
Login now