--- a/compileUiFiles.py Fri Mar 11 08:55:14 2011 +0100 +++ b/compileUiFiles.py Fri Mar 11 16:51:57 2011 +0100 @@ -11,6 +11,7 @@ import sys import os + def compileUiFiles(): """ Compile the .ui files to Python sources. @@ -21,7 +22,7 @@ from PyQt4.uic import compileUi def compileUiDir(dir, recurse = False, map = None, # __IGNORE_WARNING__ - **compileUi_args): + ** compileUi_args): """ Creates Python modules from Qt Designer .ui files in a directory or directory tree. @@ -96,6 +97,7 @@ compileUiDir(".", True, pyName) + def main(argv): """ The main function of the script.