Commit 927dee90 authored by Michal Čihař's avatar Michal Čihař

Ensure mixin class has the attribute

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 2e4b0361
...@@ -153,6 +153,7 @@ class PathMixin(LoggerMixin): ...@@ -153,6 +153,7 @@ class PathMixin(LoggerMixin):
Mixin for path manipulations. Mixin for path manipulations.
""" """
_dir_path = None _dir_path = None
_linked_subproject = None
def _get_path(self): def _get_path(self):
""" """
...@@ -191,8 +192,7 @@ class PathMixin(LoggerMixin): ...@@ -191,8 +192,7 @@ class PathMixin(LoggerMixin):
os.rename(old_path, new_path) os.rename(old_path, new_path)
# Clean subproject cache on rename # Clean subproject cache on rename
if hasattr(self, '_linked_subproject'): self._linked_subproject = None
self._linked_subproject = None
def create_path(self): def create_path(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment