| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -413,7 +413,11 @@ def rename(self, new_name): | |||
| 413 | 413 | ||
| 414 | 414 | self.repo.git.remote("rename", self.name, new_name) | |
| 415 | 415 | self.name = new_name | |
| 416 | - del(self._config_reader) # it contains cached values, section names are different now | ||
| 416 | + try: | ||
| 417 | + del(self._config_reader) # it contains cached values, section names are different now | ||
| 418 | + except AttributeError: | ||
| 419 | + pass | ||
| 420 | + #END handle exception | ||
| 417 | 421 | return self | |
| 418 | 422 | ||
| 419 | 423 | def update(self, **kwargs): | |
@@ -599,5 +603,9 @@ def config_writer(self): | |||
| 599 | 603 | writer = self.repo.config_writer() | |
| 600 | 604 | ||
| 601 | 605 | # clear our cache to assure we re-read the possibly changed configuration | |
| 602 | - del(self._config_reader) | ||
| 606 | + try: | ||
| 607 | + del(self._config_reader) | ||
| 608 | + except AttributeError: | ||
| 609 | + pass | ||
| 610 | + #END handle exception | ||
| 603 | 611 | return SectionConstraint(writer, self._config_section_name()) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ def update(self, op, index, max_count, message=''): | |||
| 20 | 20 | ||
| 21 | 21 | class TestSubmodule(TestBase): | |
| 22 | 22 | ||
| 23 | - k_subm_current = "e1e3017788213720afcfae0accddb2a6f2d9f052" | ||
| 23 | + k_subm_current = "468cad66ff1f80ddaeee4123c24e4d53a032c00d" | ||
| 24 | 24 | k_subm_changed = "394ed7006ee5dc8bddfd132b64001d5dfc0ffdd3" | |
| 25 | 25 | k_no_subm_tag = "0.1.6" | |
| 26 | 26 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments