# HG changeset patch # User Jeff Hammel # Date 1307371283 25200 # Node ID b16d6a204ac1800e0955500f239d60dbf74710d6 # Parent 4f7c05630f36b99df1d89baf8dc2cff26f96cebb stub a command line entry point diff -r 4f7c05630f36 -r b16d6a204ac1 pyloader/factory.py --- 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()