SF.net SVN: tmda: [2125] trunk/tmda-cgi/Session.py

[email protected] Mon, 06 Nov 2006 05:21:02 -0800
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Revision: 2125
          http://svn.sourceforge.net/tmda/?rev=2125&view=rev
Author:   lack
Date:     2006-11-06 05:20:58 -0800 (Mon, 06 Nov 2006)

Log Message:
-----------
Theme variables not being initialized for Install scenario

Modified Paths:
--------------
    trunk/tmda-cgi/Session.py

Modified: trunk/tmda-cgi/Session.py
===================================================================
--- trunk/tmda-cgi/Session.py	2006-11-03 21:45:29 UTC (rev 2124)
+++ trunk/tmda-cgi/Session.py	2006-11-06 13:20:58 UTC (rev 2125)
@@ -282,6 +282,7 @@
           CgiUtil.TermError("Install failed",
             "Install not allowed in no-su mode", "install", "",
             "Either recompile in another mode or install TMDA manually.")
+        self.GetTheme()
         raise CgiUtil.NotInstalled, (ErrStr, self)
       T = Template.Template("no-install.html")
       T["ErrMsg"] = ErrStr


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.