CVS: tmda-cgi Install.py,1.7,1.8

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv13385

Modified Files:
	Install.py 
Log Message:
More type-o's.


Index: Install.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Install.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Install.py	4 May 2003 04:51:27 -0000	1.7
+++ Install.py	4 May 2003 04:56:28 -0000	1.8
@@ -526,7 +526,7 @@
 def Show():
   "Handle installation."
 
-  import Util
+  from TMDA import Util
 
   # Make a substitution dictionary
   global Dict
@@ -552,7 +552,7 @@
   elif Form["cmd"].value == "restore":
     Restore()  # Does not return.
   elif Form["cmd"].value == "uninstall":
-    if self[("NoOverride", "MayInstall")][0].lower() == "n":
+    if PVars[("NoOverride", "MayInstall")][0].lower() == "n":
       CgiUtil.TermError("No permission.",
         "Uninstallation disabled by sysadmin.", "uninstall",
         "", "Contact system administrator.")

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.