diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 2e6da48270..b081b7621b 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -174,7 +174,7 @@ class Wget(FetchMethod): | |||
174 | """ | 174 | """ |
175 | Run fetch checkstatus to get directory information | 175 | Run fetch checkstatus to get directory information |
176 | """ | 176 | """ |
177 | f = tempfile.NamedTemporaryFile(dir="/tmp/s/", delete=False) | 177 | f = tempfile.NamedTemporaryFile() |
178 | 178 | ||
179 | 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" | 179 | 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" |
180 | fetchcmd = self.basecmd | 180 | fetchcmd = self.basecmd |
@@ -186,7 +186,6 @@ class Wget(FetchMethod): | |||
186 | fetchresult = "" | 186 | fetchresult = "" |
187 | 187 | ||
188 | f.close() | 188 | f.close() |
189 | # os.unlink(f.name) | ||
190 | return fetchresult | 189 | return fetchresult |
191 | 190 | ||
192 | def _check_latest_dir(self, url, versionstring, ud, d): | 191 | def _check_latest_dir(self, url, versionstring, ud, d): |