Added docstrings, refactored input.

This commit is contained in:
Jakub Roztocil committed 2012-07-26 07:23:00 +02:00
1 parent f26f2f1438
commit f45cc0eec0
8 files changed
+129 -101

No files matched your search

+6
View File
@@ -4,6 +4,12 @@ from requests.compat import urlparse, is_windows
class Environment(object):
"""Holds information about the execution context.
Groups various aspects of the environment in a changeable object
and allows for mocking.
"""
stdin_isatty = sys.stdin.isatty()
stdin = sys.stdin