diff options
author | Jose <jose@zeroc.com> | 2016-07-26 15:21:15 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-07-26 15:21:15 +0200 |
commit | 8a6e6cdcbcfa6372cc9a08033948a1f05c4cd26d (patch) | |
tree | 432f81f242f2b79dce7e6140b9d0bc135beb89b4 /cpp/src/Slice/PythonUtil.cpp | |
parent | Fix fail to build error (diff) | |
parent | Minor fix for Python string literals (diff) | |
download | ice-8a6e6cdcbcfa6372cc9a08033948a1f05c4cd26d.tar.bz2 ice-8a6e6cdcbcfa6372cc9a08033948a1f05c4cd26d.tar.xz ice-8a6e6cdcbcfa6372cc9a08033948a1f05c4cd26d.zip |
Merge remote-tracking branch 'origin/3.6'
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r-- | cpp/src/Slice/PythonUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 054f087b044..88f3aff1772 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -2109,7 +2109,7 @@ Slice::Python::CodeVisitor::writeConstantValue(const TypePtr& type, const Syntax _out << "\"" << sv2.str() << "\""; - if(sv2.str() == sv3.str()) + if(sv2.str() != sv3.str()) { _out << " if _version_info_[0] < 3 else \"" << sv3.str() << "\""; } |