summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Slice.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-09-09 23:46:17 +0000
committerMark Spruiell <mes@zeroc.com>2004-09-09 23:46:17 +0000
commit69a49e795904b07b41293fb1c7ef3ad15d04901f (patch)
tree4d98d3b1b006ec1f6e6ad1aea6b838f23446a0cf /py/modules/IcePy/Slice.cpp
parentOperation changes (diff)
downloadice-69a49e795904b07b41293fb1c7ef3ad15d04901f.tar.bz2
ice-69a49e795904b07b41293fb1c7ef3ad15d04901f.tar.xz
ice-69a49e795904b07b41293fb1c7ef3ad15d04901f.zip
clean up; disable tabs in Python output
Diffstat (limited to 'py/modules/IcePy/Slice.cpp')
-rw-r--r--py/modules/IcePy/Slice.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/modules/IcePy/Slice.cpp b/py/modules/IcePy/Slice.cpp
index 4ca28955b77..b5f6457a391 100644
--- a/py/modules/IcePy/Slice.cpp
+++ b/py/modules/IcePy/Slice.cpp
@@ -25,7 +25,7 @@ using namespace Slice::Python;
extern "C"
PyObject*
-Ice_loadSlice(PyObject* /*self*/, PyObject* args)
+IcePy_loadSlice(PyObject* /*self*/, PyObject* args)
{
char* cmd;
if(!PyArg_ParseTuple(args, "s", &cmd))
@@ -118,6 +118,7 @@ Ice_loadSlice(PyObject* /*self*/, PyObject* args)
//
ostringstream codeStream;
IceUtil::Output out(codeStream);
+ out.setUseTab(false);
generate(unit, all, out);
unit->destroy();