diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-07 13:55:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 14:06:50 +0100 |
commit | 2ac4f8b39711209ba9323fc221c1dcd185da57ea (patch) | |
tree | cbaa1e573abd13c7827a5b4a57724fd884df148b /meta/lib/oe/patch.py | |
parent | 00052fe69582f238166511e733d3ba875cbe0ad2 (diff) | |
download | poky-2ac4f8b39711209ba9323fc221c1dcd185da57ea.tar.gz |
clases/lib: Use modern exception syntax
Update older code to use modern exception handling syntax which
is the form accepted by python 3.
(From OE-Core rev: b010501cd089e649a68f683be0cf4d0aac90fbe3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/patch.py')
-rw-r--r-- | meta/lib/oe/patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 7ab74fae8a..cbc5cd9755 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py | |||
@@ -392,7 +392,7 @@ class UserResolver(Resolver): | |||
392 | os.chdir(self.patchset.dir) | 392 | os.chdir(self.patchset.dir) |
393 | try: | 393 | try: |
394 | self.patchset.Push(False) | 394 | self.patchset.Push(False) |
395 | except CmdError, v: | 395 | except CmdError as v: |
396 | # Patch application failed | 396 | # Patch application failed |
397 | patchcmd = self.patchset.Push(True, False, False) | 397 | patchcmd = self.patchset.Push(True, False, False) |
398 | 398 | ||