[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

extras-buildsys/common FileDownloader.py,1.4,1.5



Author: dcbw

Update of /cvs/fedora/extras-buildsys/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14544

Modified Files:
	FileDownloader.py 
Log Message:
Fix name not defined error


Index: FileDownloader.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/FileDownloader.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FileDownloader.py	14 Jun 2005 01:16:30 -0000	1.4
+++ FileDownloader.py	16 Jun 2005 21:22:51 -0000	1.5
@@ -21,6 +21,7 @@
 import string
 import os
 import HTTPSURLopener
+from M2Crypto import SSL
 
 
 def get_base_filename_from_url(url, legal_exts):
@@ -92,7 +93,7 @@
             target_file = os.path.join(self._target_dir, self._filename)
             try:
                 result = self._opener.retrieve(self._url, target_file)
-            except SSLError, e:
+            except SSL.SSLError, e:
                 # Don't traceback on dropped connections or timeouts
                 if e[0] == 104 or e[0] == 111:
                     result = None


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]