Tim Legant <[EMAIL PROTECTED]> writes:

Long day, too tired...  :)

>    Something like:
> 
>      theOneQueue = None
       ^^^^^^^^^^^
This should be, of course, _theOneQueue, to protect it from public
access.

>      def getQueue(...):
>          global _theOneQueue
> 
>          if _theOneQueue is None:
>              _theOneQueue = _Queue(...)
>          return _theOneQueue

...and so forth.


Tim
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to