THRIFT-2834:Remove spurious semicolons in generated code
Client: Python Compiler
Patch: Cash Costello

Github Pull Request: This closes #276
diff --git a/compiler/cpp/src/generate/t_py_generator.cc b/compiler/cpp/src/generate/t_py_generator.cc
index 50af776..2228764 100644
--- a/compiler/cpp/src/generate/t_py_generator.cc
+++ b/compiler/cpp/src/generate/t_py_generator.cc
@@ -1358,7 +1358,7 @@
         } 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 @@
         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;