[vlc-commits] Remove debug code
Olivier Aubert
git at videolan.org
Thu Jun 14 15:27:18 CEST 2012
vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri Jun 8 15:35:12 2012 +0200| [17df62ffd71ae9f67570cff03ed9eb2df4a785cf] | committer: Olivier Aubert
Remove debug code
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=17df62ffd71ae9f67570cff03ed9eb2df4a785cf
---
generate.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/generate.py b/generate.py
index c4f58da..48ff6dc 100755
--- a/generate.py
+++ b/generate.py
@@ -413,10 +413,7 @@ class Parser(object):
t = t.strip()
if not t.startswith('/*'):
if '=' in t: # has value
- try:
- n, v = enum_pair_re.split(t)
- except:
- import pdb;pdb.set_trace()
+ n, v = enum_pair_re.split(t)
vals.append(Val(n, v))
if v.startswith('0x'): # '0X'?
v = int(v, 16)
More information about the vlc-commits
mailing list