diff options
author | Mark Spruiell <mes@zeroc.com> | 2016-12-12 08:48:57 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2016-12-12 08:48:57 -0800 |
commit | 4dab8153e5a3a64e1a23d6e33482270796e2e8a9 (patch) | |
tree | ffb9201100faa44ec308107ea17195b3f73c447b /python/modules/IcePy/Slice.cpp | |
parent | Python build failures on OS X (diff) | |
download | ice-4dab8153e5a3a64e1a23d6e33482270796e2e8a9.tar.bz2 ice-4dab8153e5a3a64e1a23d6e33482270796e2e8a9.tar.xz ice-4dab8153e5a3a64e1a23d6e33482270796e2e8a9.zip |
Python fixes
Diffstat (limited to 'python/modules/IcePy/Slice.cpp')
-rw-r--r-- | python/modules/IcePy/Slice.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/python/modules/IcePy/Slice.cpp b/python/modules/IcePy/Slice.cpp index 4581a97f45b..e5005011572 100644 --- a/python/modules/IcePy/Slice.cpp +++ b/python/modules/IcePy/Slice.cpp @@ -72,7 +72,6 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args) opts.addOpt("", "underscore"); opts.addOpt("", "checksum"); opts.addOpt("", "all"); - opts.addOpt("", "python3"); vector<string> files; try @@ -103,7 +102,6 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args) bool underscore = opts.isSet("underscore"); bool all = false; bool checksum = false; - bool python3 = false; if(opts.isSet("D")) { vector<string> optargs = opts.argVec("D"); @@ -131,7 +129,6 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args) debug = opts.isSet("d") || opts.isSet("debug"); all = opts.isSet("all"); checksum = opts.isSet("checksum"); - python3 = opts.isSet("python3"); bool ignoreRedefs = false; bool keepComments = true; @@ -170,7 +167,7 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args) // It must be the first or second line. // out << "# -*- coding: utf-8 -*-\n"; - generate(u, all, checksum, python3, includePaths, out); + generate(u, all, checksum, includePaths, out); u->destroy(); string code = codeStream.str(); |