# HG changeset patch # User Jeff Hammel # Date 1332652499 25200 # Node ID 92e1b2dd60c8d93b36ae30b9916b521784872808 # Parent 1175fbabacaf21d4bc38fd922978f0b5ac317048 more stubbing diff -r 1175fbabacaf -r 92e1b2dd60c8 configuration/config.py --- a/configuration/config.py Sat Mar 24 20:42:29 2012 -0700 +++ b/configuration/config.py Sat Mar 24 22:14:59 2012 -0700 @@ -7,6 +7,16 @@ import sys import optparse +try: + import json +except ImportError: + try: + import simplejson as json + except ImportError: + json = None + +__all__ = ['Configuration'] + class Configuration(object): options = {} diff -r 1175fbabacaf -r 92e1b2dd60c8 tests/example.py --- a/tests/example.py Sat Mar 24 20:42:29 2012 -0700 +++ b/tests/example.py Sat Mar 24 22:14:59 2012 -0700 @@ -14,4 +14,5 @@ } if __name__ == '__main__': - pass + parser = ExampleConfiguration().parser() +