mirror of
https://github.com/edgewall/trac.git
synced 2026-02-05 09:46:44 +01:00
git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.6-stable@17792 af82e41b-90c4-0310-8c96-b1721e28e2e2
30 lines
877 B
Diff
30 lines
877 B
Diff
Index: subversion/bindings/swig/include/proxy.swg
|
|
===================================================================
|
|
--- subversion/bindings/swig/include/proxy.swg (revision 1905172)
|
|
+++ subversion/bindings/swig/include/proxy.swg (revision 1905173)
|
|
@@ -66,7 +66,6 @@
|
|
fn()
|
|
|
|
%}
|
|
-#if defined(SWIGPYTHON_PY3)
|
|
#if SWIG_VERSION >= 0x040000
|
|
%pythoncode %{
|
|
# -classic and -modern options have been dropped and this variable
|
|
@@ -76,7 +75,7 @@
|
|
_set_instance_attr = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
|
|
|
|
%}
|
|
-#else
|
|
+#elif defined(SWIGPYTHON_PY3)
|
|
%pythoncode %{
|
|
# SWIG classes generated with -modern do not define this variable
|
|
try:
|
|
@@ -90,7 +89,6 @@
|
|
_set_instance_attr = _swig_setattr_nondynamic_method(object.__setattr__)
|
|
|
|
%}
|
|
-#endif
|
|
#else
|
|
%pythoncode %{
|
|
# SWIG classes generated with -classic do not define this variable,
|