|
@@ -65,8 +65,7 @@ class RepositoryTestCaseBase(BaseTestCase):
|
|
shutil.rmtree(self.tmppath)
|
|
shutil.rmtree(self.tmppath)
|
|
|
|
|
|
def reopen(self, exclusive=UNSPECIFIED):
|
|
def reopen(self, exclusive=UNSPECIFIED):
|
|
- if self.repository:
|
|
|
|
- self.repository.close()
|
|
|
|
|
|
+ self.repository.close()
|
|
self.repository = self.open(exclusive=exclusive)
|
|
self.repository = self.open(exclusive=exclusive)
|
|
|
|
|
|
def add_keys(self):
|
|
def add_keys(self):
|