commit | d77a5e68b7666a8c2bff6229470e791e2df1417e | [log] [tgz] |
---|---|---|
author | Max Rasskazov <mrasskazov@mirantis.com> | Fri Jun 19 17:47:30 2015 +0300 |
committer | Max Rasskazov <mrasskazov@mirantis.com> | Fri Jun 19 17:49:23 2015 +0300 |
tree | 066ab694f4bbec972ab1f80889278e82bbebfb88 | |
parent | d5346ee990a0f96f0e5dccb6d5ab522ab81a003e [diff] [blame] |
Singleton hacked for support reinit method for instance Change-Id: Iea72dc29af8a560005e6f798f33b486d5651fb12
diff --git a/trsync.py b/trsync.py index 39e1203..5ee5b2e 100644 --- a/trsync.py +++ b/trsync.py
@@ -25,6 +25,9 @@ def __str__(self): return self.snapshot_stamp + def reinit(self, *args, **kwagrs): + self.__init__(*args, **kwagrs) + class TRsync(RsyncRemote): # retry and other function with mirror