summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 0618e46fe6..3e90b6a306 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -780,7 +780,7 @@ def movefile(src, dest, newmtime = None, sstat = None):
780 os.rename(src, destpath) 780 os.rename(src, destpath)
781 renamefailed = 0 781 renamefailed = 0
782 except Exception as e: 782 except Exception as e:
783 if e[0] != errno.EXDEV: 783 if e.errno != errno.EXDEV:
784 # Some random error. 784 # Some random error.
785 print("movefile: Failed to move", src, "to", dest, e) 785 print("movefile: Failed to move", src, "to", dest, e)
786 return None 786 return None