CVS: tmda-cgi CgiUtil.py,1.15,1.16

Jim Ramsay <[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-serv9542

Modified Files:
	CgiUtil.py 
Log Message:
Fixed auxiliary decoder lookups I broke last commit.


Index: CgiUtil.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/CgiUtil.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- CgiUtil.py	12 May 2003 16:59:23 -0000	1.15
+++ CgiUtil.py	13 May 2003 15:11:54 -0000	1.16
@@ -167,11 +167,11 @@
   if not CharSet:
     return Str
   CS = email.Charset.Charset( CharSet )
-  RealCharset = CS.input_charset
+  CharSet = CS.input_charset
 
   # Find appropriate decoder
   try:
-    Decoder = codecs.getdecoder(RealCharset)
+    Decoder = codecs.getdecoder(CharSet)
   except LookupError:
     try:
       # Is it GB2312?

_______________________________________
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.