minor bugfix.. ignore.

This commit is contained in:
A. Murat Eren
2005-10-18 13:26:29 +00:00
parent b1416d2854
commit 2f7ebad7b1
+4 -4
View File
@@ -131,10 +131,10 @@ class Fetcher:
def fetchRemoteFile (self, archivefile):
from httplib import HTTPException
if os.path.exists(archivefile) and \
self.scheme == "http" or self.scheme == "https":
self.existsize = os.path.getsize(archivefile)
dest = open(archivefile, "ab")
if os.path.exists(archivefile):
if self.scheme == "http" or self.scheme == "https":
self.existsize = os.path.getsize(archivefile)
dest = open(archivefile, "ab")
else:
dest = open(archivefile, "wb")