Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Log old python #54
Log old python #54
Conversation
make sure we have oppurtunity to log user details before we abort
| if json is None: | ||
| version = get_python_version_string() | ||
| log_msg('''{"python_version": "%s", "subdomain": "%s"}''' % | ||
| (version, options.subdomain)) |
MichaelBlume
Oct 10, 2013
Author
Contributor
have to generate json manually here because json is not in Python 2.5 stdlib
have to generate json manually here because json is not in Python 2.5 stdlib
Make sure script parses under python 2.5 and prints an error message and logs something to loggly.