From 085001e54193bdce2f082d303bf6f5ea1ebf3ea3 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 18 Nov 2014 20:42:02 -0500 Subject: [PATCH] removed unnecessary semi-colons --- compiler/cpp/src/generate/t_py_generator.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/compiler/cpp/src/generate/t_py_generator.cc b/compiler/cpp/src/generate/t_py_generator.cc index 50af77663b1..2228764b1d5 100644 --- a/compiler/cpp/src/generate/t_py_generator.cc +++ b/compiler/cpp/src/generate/t_py_generator.cc @@ -1358,7 +1358,7 @@ void t_py_generator::generate_service_client(t_service* tservice) { } else { f_service_ << indent() << "raise TApplicationException(TApplicationException.MISSING_RESULT, \"" - << (*f_iter)->get_name() << " failed: unknown result\");" << endl; + << (*f_iter)->get_name() << " failed: unknown result\")" << endl; } } @@ -1891,34 +1891,34 @@ void t_py_generator::generate_deserialize_field(ofstream& out, break; case t_base_type::TYPE_STRING: if (((t_base_type*)type)->is_binary() || !gen_utf8strings_) { - out << "readString();"; + out << "readString()"; } else { out << "readString().decode('utf-8')"; } break; case t_base_type::TYPE_BOOL: - out << "readBool();"; + out << "readBool()"; break; case t_base_type::TYPE_BYTE: - out << "readByte();"; + out << "readByte()"; break; case t_base_type::TYPE_I16: - out << "readI16();"; + out << "readI16()"; break; case t_base_type::TYPE_I32: - out << "readI32();"; + out << "readI32()"; break; case t_base_type::TYPE_I64: - out << "readI64();"; + out << "readI64()"; break; case t_base_type::TYPE_DOUBLE: - out << "readDouble();"; + out << "readDouble()"; break; default: throw "compiler error: no Python name for base type " + t_base_type::t_base_name(tbase); } } else if (type->is_enum()) { - out << "readI32();"; + out << "readI32()"; } out << endl;