You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by gr...@apache.org on 2006/10/27 02:33:25 UTC

svn commit: r468211 - /httpd/mod_python/trunk/lib/python/mod_python/util.py

Author: grahamd
Date: Thu Oct 26 17:33:24 2006
New Revision: 468211

URL: http://svn.apache.org/viewvc?view=rev&rev=468211
Log:
(MODPYTHON-93) Logic check on when to trigger backwards compatibility mode
for Field class was wrong way around.


Modified:
    httpd/mod_python/trunk/lib/python/mod_python/util.py

Modified: httpd/mod_python/trunk/lib/python/mod_python/util.py
URL: http://svn.apache.org/viewvc/httpd/mod_python/trunk/lib/python/mod_python/util.py?view=diff&rev=468211&r1=468210&r2=468211
==============================================================================
--- httpd/mod_python/trunk/lib/python/mod_python/util.py (original)
+++ httpd/mod_python/trunk/lib/python/mod_python/util.py Thu Oct 26 17:33:24 2006
@@ -65,7 +65,7 @@
         # way of doing things and thus we need this code
         # for the forseeable future to cope with that.
 
-        if not args or not kwargs:
+        if args or kwargs:
             self.__bc_init__(*args, **kwargs)
 
     def __bc_init__(self, file, ctype, type_options,