diff options
Diffstat (limited to 'bitbake/lib/bb/tests')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 4ba688bfea..cba783f5ab 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -450,7 +450,7 @@ class MirrorUriTest(FetcherTest): | |||
450 | class FetcherLocalTest(FetcherTest): | 450 | class FetcherLocalTest(FetcherTest): |
451 | def setUp(self): | 451 | def setUp(self): |
452 | def touch(fn): | 452 | def touch(fn): |
453 | with file(fn, 'a'): | 453 | with open(fn, 'a'): |
454 | os.utime(fn, None) | 454 | os.utime(fn, None) |
455 | 455 | ||
456 | super(FetcherLocalTest, self).setUp() | 456 | super(FetcherLocalTest, self).setUp() |