diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2010-09-16 00:59:58 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2010-09-16 00:59:58 -0400 |
| commit | dbcea81c170b0bb101a23428e648034d1ab41258 (patch) | |
| tree | be0401a85432d899c39be41824673d21dfb7092e /tablib/helpers.py | |
| parent | 49dc4a249eef20f8f844da333d128e4519bf713e (diff) | |
| download | tablib-dbcea81c170b0bb101a23428e648034d1ab41258.tar.gz | |
Inline docs.
Diffstat (limited to 'tablib/helpers.py')
| -rw-r--r-- | tablib/helpers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tablib/helpers.py b/tablib/helpers.py index f20700d..0a91e56 100644 --- a/tablib/helpers.py +++ b/tablib/helpers.py @@ -16,5 +16,6 @@ class Struct(object): def piped(): """Returns piped input via stdin, else False.""" with sys.stdin as stdin: + # TTY is only way to detect if stdin contains data return stdin.read() if not stdin.isatty() else None |
