summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2014-03-03 16:59:19 -0800
committerAndy Grover <agrover@redhat.com>2014-03-03 16:59:19 -0800
commit4446ee09ca7b417b8a76d4641eb4b04ae55de116 (patch)
tree210415d658fcc87181399000faae6a2556582e1c
parent6c3c38bbaded0219eb952f1e6c86f7127278538a (diff)
downloadconfigshell-fb-4446ee09ca7b417b8a76d4641eb4b04ae55de116.tar.gz
Another dumb thing to fix.
Arrg. Can't reference self in a default parameter. Signed-off-by: Andy Grover <agrover@redhat.com>
-rw-r--r--configshell/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configshell/console.py b/configshell/console.py
index 6e2cd1d..6eeb3c3 100644
--- a/configshell/console.py
+++ b/configshell/console.py
@@ -131,7 +131,7 @@ class Console(object):
'''
self.escape("%d;%dH" % (ypos, xpos))
- def raw_write(self, text, output=self._stdout):
+ def raw_write(self, text, output=sys.stdout):
'''
Raw console printing function.
@param text: The text to print.