Issue 44 in ctypesgen: Fix undefined global/name in ctypesgencore/printer_python/printer.py

7 views
Skip to first unread message

codesite...@google.com

unread,
Sep 10, 2013, 10:03:07 PM9/10/13
to ctyp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 44 by kanzure: Fix undefined global/name in
ctypesgencore/printer_python/printer.py
http://code.google.com/p/ctypesgen/issues/detail?id=44

Some generated files will fail to build because it hits the print_module
method in ctypesgencore/printer_python/printer.py which looks like this:

def print_module(self,module):
print >>self.file, 'from %s import *' % name

"name" isn't defined. I have attached a fix.

Attachments:
fix-print-module.diff 566 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages