484 if exitStatus == QProcess.NormalExit and exitCode == 0: |
484 if exitStatus == QProcess.NormalExit and exitCode == 0: |
485 path = os.path.dirname(self.idlFile) |
485 path = os.path.dirname(self.idlFile) |
486 poaList = glob.glob(os.path.join(path, "*__POA")) |
486 poaList = glob.glob(os.path.join(path, "*__POA")) |
487 npoaList = [f.replace("__POA", "") for f in poaList] |
487 npoaList = [f.replace("__POA", "") for f in poaList] |
488 fileList = glob.glob(os.path.join(path, "*_idl.py")) |
488 fileList = glob.glob(os.path.join(path, "*_idl.py")) |
489 for dir in poaList + npoaList: |
489 for directory in poaList + npoaList: |
490 fileList += Utilities.direntries(dir, True, "*.py") |
490 fileList += Utilities.direntries(directory, True, "*.py") |
491 for file in fileList: |
491 for file in fileList: |
492 self.project.appendFile(file) |
492 self.project.appendFile(file) |
493 if not self.noDialog and not ui.notificationsEnabled(): |
493 if not self.noDialog and not ui.notificationsEnabled(): |
494 E5MessageBox.information( |
494 E5MessageBox.information( |
495 self, |
495 self, |