You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by ni...@apache.org on 2016/11/29 10:09:35 UTC

incubator-ariatosca git commit: fix re-raise

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/fix-parser-format-tests d7d045017 -> 7f3b454dc


fix re-raise


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/7f3b454d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/7f3b454d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/7f3b454d

Branch: refs/heads/fix-parser-format-tests
Commit: 7f3b454dc322c993fd40e312bb5ac41efed4d57b
Parents: d7d0450
Author: nirb <ni...@gigaspaces.com>
Authored: Tue Nov 29 12:08:51 2016 +0200
Committer: nirb <ni...@gigaspaces.com>
Committed: Tue Nov 29 12:08:51 2016 +0200

----------------------------------------------------------------------
 aria/parser/consumption/presentation.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/7f3b454d/aria/parser/consumption/presentation.py
----------------------------------------------------------------------
diff --git a/aria/parser/consumption/presentation.py b/aria/parser/consumption/presentation.py
index 38f03f3..7766473 100644
--- a/aria/parser/consumption/presentation.py
+++ b/aria/parser/consumption/presentation.py
@@ -101,9 +101,9 @@ class Read(Consumer):
         else:
             try:
                 presenter_class = self.context.presentation.presenter_source.get_presenter(raw)
-            except PresenterNotFoundError, e:
+            except PresenterNotFoundError:
                 if presenter_class is None:
-                    raise e
+                    raise
             # We'll use the presenter class we were given (from the presenter that imported us)
             if presenter_class is None:
                 raise PresenterNotFoundError('presenter not found')