changeset 22:b16d6a204ac1

stub a command line entry point
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 06 Jun 2011 07:41:23 -0700
parents 4f7c05630f36
children 9b2ca32e7a36
files pyloader/factory.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyloader/factory.py	Mon Jun 06 07:39:18 2011 -0700
+++ b/pyloader/factory.py	Mon Jun 06 07:41:23 2011 -0700
@@ -5,6 +5,7 @@
 import cast
 import loader
 import os
+import sys
 from ConfigParser import InterpolationMissingOptionError
 from ConfigParser import InterpolationSyntaxError
 from ConfigParser import SafeConfigParser as ConfigParser
@@ -138,5 +139,8 @@
 
         return config
 
+def main(args=sys.argv[1:]):
+    """command line entry point"""
+
 if __name__ == '__main__':
-    pass
+    main()