X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=account.py;h=6030ebe3eb33a1ebf1ec3ea9c88b5ea7a4c40dcc;hb=refs%2Fheads%2Fpackaging;hp=5cbd21ceba88a101425ed365afa19a4778c0529b;hpb=d88a6b97acdd56a303918cac7ed16ffad269d648;p=nodemanager.git diff --git a/account.py b/account.py index 5cbd21c..6030ebe 100644 --- a/account.py +++ b/account.py @@ -159,7 +159,7 @@ class Account: subprocess.call("umount %s"%(root_ssh),shell=True) logger.log("_manage_ssh_dir: umounted %s"%(root_ssh)) except: - logger.log_exc("_manage_ssh_dir with slice %s failed"%slicename) + logger.log_exc("_manage_ssh_dir failed",name=slicename) class Worker: @@ -182,7 +182,7 @@ If still valid, check if running and configure/start if not.""" if not isinstance(self._acct, next_class): self._acct = next_class(rec) logger.verbose("account.Worker.ensure_created: %s, running=%r"%(self.name,self.is_running())) - # reservation_alive is set on reervable nodes, and its value is a boolean + # reservation_alive is set on reservable nodes, and its value is a boolean if 'reservation_alive' in rec: # reservable nodes if rec['reservation_alive']: