diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-08-31 21:41:25 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-08-31 21:41:25 -0400 |
| commit | 7cbb40a71ffb2583862191b7999e436807f9a0e8 (patch) | |
| tree | 25846f8d0e811b16b28291aeaf6359bee51e28c4 /python/scriptingprovider.py | |
| parent | 980e2f090fb47f7f71a46b03e8c636819f3214ec (diff) | |
| parent | 0b30396eb319e89e4f69d9cbac12fc3d4b453f53 (diff) | |
Merge branch 'dev'
Diffstat (limited to 'python/scriptingprovider.py')
| -rw-r--r-- | python/scriptingprovider.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py index 94616d59..ed9688b9 100644 --- a/python/scriptingprovider.py +++ b/python/scriptingprovider.py @@ -335,7 +335,6 @@ class _PythonScriptingInstanceOutput(object): self.buffer = "" self.encoding = 'UTF-8' self.errors = None - self.isatty = False self.mode = 'w' self.name = 'PythonScriptingInstanceOutput' self.newlines = None @@ -349,6 +348,9 @@ class _PythonScriptingInstanceOutput(object): def flush(self): pass + def isatty(self): + return False + def next(self): raise IOError("File not open for reading") @@ -412,6 +414,9 @@ class _PythonScriptingInstanceInput(object): def __init__(self, orig): self.orig = orig + def isatty(self): + return False + def read(self, size): interpreter = None if "value" in dir(PythonScriptingInstance._interpreter): |
