X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=accounts.py;h=4357b8be778f7f2d06cf57f1937dbb17a86168c8;hb=6aeeb0a49f3f2fbaad74adbbe9dc52be74eb204d;hp=e9191d5f31dc8f90d70261cbef266fa63bbc02b5;hpb=3b859412179e76c2d7aa586abfc38716a6c2ea78;p=nodemanager.git diff --git a/accounts.py b/accounts.py index e9191d5..4357b8b 100644 --- a/accounts.py +++ b/accounts.py @@ -77,7 +77,6 @@ class Account: logger.verbose('accounts: Initing account %s'%rec['name']) self.name = rec['name'] self.keys = '' - self.initscriptchanged = False self.configure(rec) @staticmethod @@ -144,10 +143,7 @@ If still valid, check if running and configure/start if not.""" try: next_class.create(self.name, rec['vref']) finally: create_sem.release() if not isinstance(self._acct, next_class): self._acct = next_class(rec) - if startingup or \ - not self.is_running() or \ - next_class != curr_class or \ - self._acct.initscriptchanged: + if not self.is_running() or startingup or next_class != curr_class: self.start(rec) else: self._acct.configure(rec)