From 6c83c04d36f0632eecad27801572b4ae1806736b Mon Sep 17 00:00:00 2001 From: "David E. Eisenstat" Date: Sat, 23 Jun 2007 13:11:39 +0000 Subject: [PATCH] *** empty log message *** --- accounts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/accounts.py b/accounts.py index bf541fb..0a3509a 100644 --- a/accounts.py +++ b/accounts.py @@ -30,8 +30,8 @@ import tools # When this variable is true, start after any ensure_created -startingup = False -# Cumulative delay for starts when startingup is true +Startingup = False +# Cumulative delay for starts when Startingup is true csd_lock = threading.Lock() cumstartdelay = 0 @@ -111,9 +111,9 @@ class Worker: def ensure_created(self, rec): """Cause the account specified by to exist if it doesn't already.""" - self._q.put((self._ensure_created, rec.copy())) + self._q.put((self._ensure_created, rec.copy(), Startingup)) - def _ensure_created(self, rec): + def _ensure_created(self, rec, startingup): curr_class = self._get_class() next_class = type_acct_class[rec['type']] if next_class != curr_class: -- 2.47.0