summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-09 23:19:19 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-09 23:19:19 +0000
commitdbe5094209932cb11be21ff5c7e9207d882f5792 (patch)
tree6de87d0b60e1f3d92715d6a7fee33a35c4f5b927 /ppapi
parentd9b73c84e0344ae87a42956ba0ab4b1322a073b7 (diff)
downloadchromium_src-dbe5094209932cb11be21ff5c7e9207d882f5792.zip
chromium_src-dbe5094209932cb11be21ff5c7e9207d882f5792.tar.gz
chromium_src-dbe5094209932cb11be21ff5c7e9207d882f5792.tar.bz2
Fix PPAPI generator so that it might actually report exceptions properly.
Review URL: http://codereview.chromium.org/8511022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/generators/idl_c_proto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/generators/idl_c_proto.py b/ppapi/generators/idl_c_proto.py
index fb3a576..0a4e0df 100644
--- a/ppapi/generators/idl_c_proto.py
+++ b/ppapi/generators/idl_c_proto.py
@@ -20,7 +20,7 @@ Option('cgen_debug', 'Debug generate.')
class CGenError(Exception):
def __init__(self, msg):
- self.value = value
+ self.value = msg
def __str__(self):
return repr(self.value)