summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Slice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/modules/IcePy/Slice.cpp')
-rw-r--r--python/modules/IcePy/Slice.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/modules/IcePy/Slice.cpp b/python/modules/IcePy/Slice.cpp
index e11365d8d40..c0ab744a766 100644
--- a/python/modules/IcePy/Slice.cpp
+++ b/python/modules/IcePy/Slice.cpp
@@ -64,7 +64,6 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args)
opts.addOpt("d", "debug");
opts.addOpt("", "ice");
opts.addOpt("", "underscore");
- opts.addOpt("", "checksum");
opts.addOpt("", "all");
vector<string> files;
@@ -95,7 +94,6 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args)
bool ice = true; // This must be true so that we can create Ice::Identity when necessary.
bool underscore = opts.isSet("underscore");
bool all = false;
- bool checksum = false;
if(opts.isSet("D"))
{
vector<string> optargs = opts.argVec("D");
@@ -122,7 +120,6 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args)
}
debug = opts.isSet("d") || opts.isSet("debug");
all = opts.isSet("all");
- checksum = opts.isSet("checksum");
bool ignoreRedefs = false;
bool keepComments = true;
@@ -161,7 +158,7 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args)
// It must be the first or second line.
//
out << "# -*- coding: utf-8 -*-\n";
- generate(u, all, checksum, includePaths, out);
+ generate(u, all, includePaths, out);
u->destroy();
string code = codeStream.str();