Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions comtypes/client/_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def GetModule(tlib):
else:
return mod
# the module is always regenerated if the import fails
if __verbose__:
print "# Generating comtypes.gen.%s" % modulename
logger.debug("# Generating comtypes.gen.%s", modulename)

# determine the Python module name
fullname = _name_module(tlib)
modname = fullname.split(".")[-1]
Expand Down Expand Up @@ -171,8 +171,8 @@ def _CreateWrapper(tlib, pathname=None):
else:
ofi = open(os.path.join(comtypes.client.gen_dir, modname + ".py"), "w")
# XXX use logging!
if __verbose__:
print "# Generating comtypes.gen.%s" % modname
logger.debug("# Generating comtypes.gen.%s", modname)

generate_module(tlib, ofi, pathname)

if comtypes.client.gen_dir is None:
Expand Down