Fix: transmite init_directory_structure to base constructor
Change-Id: I4636894501e5aa9377c35ef7f3b6ffa3bfe95094
diff --git a/trsync/objects/rsync_mirror.py b/trsync/objects/rsync_mirror.py
index 5b6f30e..aac178e 100644
--- a/trsync/objects/rsync_mirror.py
+++ b/trsync/objects/rsync_mirror.py
@@ -40,7 +40,10 @@
timestamp=None,
**kwargs
):
- super(TRsync, self).__init__(rsync_url, **kwargs)
+ super(TRsync, self).__init__(
+ rsync_url,
+ init_directory_structure=init_directory_structure,
+ **kwargs)
self._log = utils.logger.getChild('TRsync' + rsync_url)
self._snapshots_dir = self.url.a_dir(snapshots_dir)
self._latest_successful_postfix = latest_successful_postfix