386 |
389 |
387 # remember for QtHelp generation |
390 # remember for QtHelp generation |
388 if qtHelpCreation: |
391 if qtHelpCreation: |
389 qtHelpGenerator.remember(file, moduleDocument, basename) |
392 qtHelpGenerator.remember(file, moduleDocument, basename) |
390 |
393 |
391 if (noempty or file.endswith('__init__.py')) \ |
394 if ( |
392 and moduleDocument.isEmpty(): |
395 (noempty or file.endswith('__init__.py')) and |
|
396 moduleDocument.isEmpty() |
|
397 ): |
393 continue |
398 continue |
394 |
399 |
395 # generate output |
400 # generate output |
396 try: |
401 try: |
397 out = open(f, "w", encoding="utf-8", newline=newline) |
402 out = open(f, "w", encoding="utf-8", newline=newline) |