diff options
Diffstat (limited to 'lib/bb/fetch2/wget.py')
-rw-r--r-- | lib/bb/fetch2/wget.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/fetch2/wget.py b/lib/bb/fetch2/wget.py index 2e6da4827..b081b7621 100644 --- a/lib/bb/fetch2/wget.py +++ b/lib/bb/fetch2/wget.py @@ -174,7 +174,7 @@ class Wget(FetchMethod): """ Run fetch checkstatus to get directory information """ - f = tempfile.NamedTemporaryFile(dir="/tmp/s/", delete=False) + f = tempfile.NamedTemporaryFile() agent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12" fetchcmd = self.basecmd @@ -186,7 +186,6 @@ class Wget(FetchMethod): fetchresult = "" f.close() - # os.unlink(f.name) return fetchresult def _check_latest_dir(self, url, versionstring, ud, d): |