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

extras-buildsys/common FileDownloader.py,1.6,1.7



Author: dcbw

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

Modified Files:
	FileDownloader.py 
Log Message:
Don't traceback when server goes away during download.


Index: FileDownloader.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/FileDownloader.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- FileDownloader.py	19 Jun 2005 02:47:53 -0000	1.6
+++ FileDownloader.py	19 Jun 2005 04:13:26 -0000	1.7
@@ -92,6 +92,7 @@
                 os.makedirs(self._target_dir)
             os.chdir(self._target_dir)
             target_file = os.path.join(self._target_dir, self._filename)
+            result = None
             try:
                 result = self._opener.retrieve(self._url, target_file)
             except SSL.SSLError, e:


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