summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Python.cpp
diff options
context:
space:
mode:
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();
}