diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index e438694082..7aaf9309bd 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -782,7 +782,7 @@ def movefile(src, dest, newmtime = None, sstat = None): | |||
782 | os.rename(src, destpath) | 782 | os.rename(src, destpath) |
783 | renamefailed = 0 | 783 | renamefailed = 0 |
784 | except Exception as e: | 784 | except Exception as e: |
785 | if e[0] != errno.EXDEV: | 785 | if e.errno != errno.EXDEV: |
786 | # Some random error. | 786 | # Some random error. |
787 | print("movefile: Failed to move", src, "to", dest, e) | 787 | print("movefile: Failed to move", src, "to", dest, e) |
788 | return None | 788 | return None |