[Twisted-Python] Defect in twisted/persisted/sob.py

After update to trunk, twistd do not start as a daemon with following error: Starting my-app: twistd Failed to load application: global name 'mainMod' is not defined Following patch helped, please consider to apply to trunk: Index: sob.py =================================================================== --- sob.py (Revision 15568) +++ sob.py (Arbeitskopie) @@ -157,6 +157,7 @@ @param style: string (one of 'source', 'xml' or 'pickle') @param passphrase: string """ + global mainMod mode = 'r' if style=='source': from twisted.persisted.aot import unjellyFromSource as load

On Tue, 10 Jan 2006 21:57:17 +0100, Paul Reznicek <maillists@ivsn.com> wrote:
This looks like issue 491: http://twistedmatrix.com/bugs/issue491 The hold up in applying it is probably the lack of a unit test. Jean-Paul

On Tue, 10 Jan 2006 21:57:17 +0100, Paul Reznicek <maillists@ivsn.com> wrote:
This looks like issue 491: http://twistedmatrix.com/bugs/issue491 The hold up in applying it is probably the lack of a unit test. Jean-Paul
participants (2)
-
Jean-Paul Calderone
-
Paul Reznicek