1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

bitbake: lib: Use modern expcetion syntax

(Bitbake rev: a4a37b6a83faa62f61433122c4583e93e64f7372)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-05-09 21:18:20 +00:00
parent a823c88839
commit 3e86a6cdde
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
os.fsync(fd)
os.chmod(tmpfile, 0664)
os.rename(tmpfile, sigfile)
except (OSError, IOError), err:
except (OSError, IOError) as err:
try:
os.unlink(tmpfile)
except OSError: