Show More
@@ -477,10 +477,10 b' class Repository(Base, BaseModel):' | |||||
477 | return self.__get_instance() |
|
477 | return self.__get_instance() | |
478 |
|
478 | |||
479 | inv = self.invalidate |
|
479 | inv = self.invalidate | |
480 | if inv: |
|
480 | if inv is not None: | |
481 | region_invalidate(_c, None, self.repo_name) |
|
481 | region_invalidate(_c, None, self.repo_name) | |
482 | #update our cache |
|
482 | #update our cache | |
483 |
inv |
|
483 | inv.cache_active = True | |
484 | Session.add(inv) |
|
484 | Session.add(inv) | |
485 | Session.commit() |
|
485 | Session.commit() | |
486 |
|
486 |
General Comments 0
You need to be logged in to leave comments.
Login now