summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Python.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2016-12-12 08:48:57 -0800
committerMark Spruiell <mes@zeroc.com>2016-12-12 08:48:57 -0800
commit4dab8153e5a3a64e1a23d6e33482270796e2e8a9 (patch)
treeffb9201100faa44ec308107ea17195b3f73c447b /cpp/src/Slice/Python.cpp
parentPython build failures on OS X (diff)
downloadice-4dab8153e5a3a64e1a23d6e33482270796e2e8a9.tar.bz2
ice-4dab8153e5a3a64e1a23d6e33482270796e2e8a9.tar.xz
ice-4dab8153e5a3a64e1a23d6e33482270796e2e8a9.zip
Python fixes
Diffstat (limited to 'cpp/src/Slice/Python.cpp')
-rw-r--r--cpp/src/Slice/Python.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/Slice/Python.cpp b/cpp/src/Slice/Python.cpp
index b602b09a1c0..e5d7ce8760a 100644
--- a/cpp/src/Slice/Python.cpp
+++ b/cpp/src/Slice/Python.cpp
@@ -401,7 +401,6 @@ usage(const string& n)
"--all Generate code for Slice definitions in included files.\n"
"--checksum Generate checksums for Slice definitions.\n"
"--prefix PREFIX Prepend filenames of Python modules with PREFIX.\n"
- "--python3 Generate code for the Python 3 mapping.\n"
;
}
@@ -429,7 +428,6 @@ Slice::Python::compile(const vector<string>& argv)
opts.addOpt("", "build-package");
opts.addOpt("", "checksum");
opts.addOpt("", "prefix", IceUtilInternal::Options::NeedArg);
- opts.addOpt("", "python3");
vector<string> args;
try
@@ -500,8 +498,6 @@ Slice::Python::compile(const vector<string>& argv)
string prefix = opts.optArg("prefix");
- bool python3 = opts.isSet("python3");
-
if(args.empty())
{
getErrorStream() << argv[0] << ": error: no input file" << endl;
@@ -671,7 +667,7 @@ Slice::Python::compile(const vector<string>& argv)
//
// Generate Python code.
//
- generate(u, all, checksum, python3, includePaths, out);
+ generate(u, all, checksum, includePaths, out);
out.close();
}