From 40ba5aa6c0b19140b6ea6bd71e2f0f06b37d3787 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Thu, 24 Nov 2005 23:21:43 +0000 Subject: [PATCH] fix for bug #1174705 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7866 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/python.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Modules/python.cxx b/SWIG/Source/Modules/python.cxx index 7f40f157f..3d9f0f6b1 100644 --- a/SWIG/Source/Modules/python.cxx +++ b/SWIG/Source/Modules/python.cxx @@ -2588,7 +2588,7 @@ public: t = Getattr(n,"type"); symname = Getattr(n,"sym:name"); if (SwigType_isconst(t) && !Getattr(n, "value")) { - Printf(f_shadow,"%s%s = %s.%s.%s\n", tab4, symname, module, global_name, Swig_name_member(class_name,symname)); + Printf(f_shadow_stubs,"%s.%s = %s.%s.%s\n", class_name, symname, module, global_name, Swig_name_member(class_name,symname)); } } return SWIG_OK;