[vlc-commits] Missing patch from previous commit (modify function registration)

Olivier Aubert git at videolan.org
Fri Jan 20 08:48:12 CET 2012


vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri Jan 20 08:47:11 2012 +0100| [86298d9a5cb9fa5b6d98c8fec482b5ddf5e8e55e] | committer: Olivier Aubert

Missing patch from previous commit (modify function registration)

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=86298d9a5cb9fa5b6d98c8fec482b5ddf5e8e55e
---

 generate.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/generate.py b/generate.py
index 2a7d60f..5bd79d3 100755
--- a/generate.py
+++ b/generate.py
@@ -835,9 +835,6 @@ class PythonGenerator(_Generator):
     f = _Cfunctions.get('%(name)s', None) or \\
         _Cfunction('%(name)s', (%(flags)s), %(errcheck)s,
                     %(types)s)
-    if not __debug__:  # i.e. python -O or -OO
-        global %(name)s
-        %(name)s = f
     return f(%(args)s)
 """ % locals())
 



More information about the vlc-commits mailing list