diff options
author | Jose <jose@zeroc.com> | 2016-07-26 15:19:29 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-07-26 15:19:29 +0200 |
commit | 3838edd23e7d5676afa896acb6bd8b2ce1a5b5bd (patch) | |
tree | 86e7c749e8dea8169cfbdcbcbe10f4ea776a03ed /cpp/src | |
parent | String literal fixes for compativility with Python3 (diff) | |
download | ice-3838edd23e7d5676afa896acb6bd8b2ce1a5b5bd.tar.bz2 ice-3838edd23e7d5676afa896acb6bd8b2ce1a5b5bd.tar.xz ice-3838edd23e7d5676afa896acb6bd8b2ce1a5b5bd.zip |
Minor fix for Python string literals
Diffstat (limited to 'cpp/src')
-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 997942012b2..262f104c2bb 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -2137,7 +2137,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() << "\""; } |