CVS: crypto/Demo/secimp secimp.py,1.2,1.3

"A.M. Kuchling" <[email protected]> Wed, 20 Oct 2004 09:53:05 -0700
Newsgroups gmane.comp.python.cryptography.cvs
Message-ID <[email protected]>
Update of /cvsroot/pycrypto/crypto/Demo/secimp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17139

Modified Files:
	secimp.py 
Log Message:
[Bug #1010063] Avoid use of 'import *'

Index: secimp.py
===================================================================
RCS file: /cvsroot/pycrypto/crypto/Demo/secimp/secimp.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- secimp.py	28 Feb 2003 15:21:58 -0000	1.2
+++ secimp.py	20 Oct 2004 16:53:03 -0000	1.3
@@ -59,7 +59,7 @@
             import marshal
             from Crypto.Hash import MD5
             fp.close()                  # Close the original *.pyc file
-            from testkey import *       # Get the key for verification
+            from testkey import key     # Get the key for verification
             signature=marshal.load(secfile) # Read signature
             position=secfile.tell()     # Save position
             data=secfile.read()         # Read code object



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl