[pygccxml-commit] SF.net SVN: pygccxml: [334] pyplusplus_dev/pyplusplus/module_creator/creator.py
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2006-07-23 06:02:26
|
Revision: 334 Author: roman_yakovenko Date: 2006-07-22 23:02:19 -0700 (Sat, 22 Jul 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=334&view=rev Log Message: ----------- changing from msg = [ 'Declaration "%s" could not be exported.' % full_name ] to [ 'Declaration "%s" could not be exported.' % decl ] Modified Paths: -------------- pyplusplus_dev/pyplusplus/module_creator/creator.py Modified: pyplusplus_dev/pyplusplus/module_creator/creator.py =================================================================== --- pyplusplus_dev/pyplusplus/module_creator/creator.py 2006-07-20 19:12:15 UTC (rev 333) +++ pyplusplus_dev/pyplusplus/module_creator/creator.py 2006-07-23 06:02:19 UTC (rev 334) @@ -145,22 +145,18 @@ readme = decl.readme() if not readme: continue - #Now we should print what py++ has to say to user - full_name = declarations.full_name( decl ) - if not decl.name: - full_name = full_name + '::{unnamed}' if not decl.exportable: reason = readme[0] if reason in DO_NOT_REPORT_MSGS: continue readme = readme[1:] - msg = [ 'Declaration "%s" could not be exported.' % full_name ] + msg = [ 'Declaration "%s" could not be exported.' % decl ] msg.append( reason.replace( os.linesep, os.linesep + '\t' ) ) self.decl_logger.warn( os.linesep.join( msg ) ) for msg in readme: - self.decl_logger.warn( 'Declaration "%s": %s' % ( full_name, msg ) ) + self.decl_logger.warn( 'Declaration "%s": %s' % ( decl, msg ) ) #leave only declarations defined under namespace, but remove namespaces decls = filter( lambda x: not isinstance( x, declarations.namespace_t ) \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |