diff options
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index dece945969..1ff2ecc482 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -249,7 +249,7 @@ class SignatureGeneratorBasic(SignatureGenerator): | |||
249 | os.fsync(fd) | 249 | os.fsync(fd) |
250 | os.chmod(tmpfile, 0664) | 250 | os.chmod(tmpfile, 0664) |
251 | os.rename(tmpfile, sigfile) | 251 | os.rename(tmpfile, sigfile) |
252 | except (OSError, IOError), err: | 252 | except (OSError, IOError) as err: |
253 | try: | 253 | try: |
254 | os.unlink(tmpfile) | 254 | os.unlink(tmpfile) |
255 | except OSError: | 255 | except OSError: |