summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
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):
450class FetcherLocalTest(FetcherTest): 450class 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()