Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69584111CD for ; Thu, 26 Jun 2014 20:13:47 +0000 (UTC) Received: (qmail 67231 invoked by uid 500); 26 Jun 2014 20:13:47 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 67197 invoked by uid 500); 26 Jun 2014 20:13:47 -0000 Mailing-List: contact commits-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list commits@aurora.incubator.apache.org Received: (qmail 67186 invoked by uid 99); 26 Jun 2014 20:13:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 20:13:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Jun 2014 20:13:48 +0000 Received: (qmail 65376 invoked by uid 99); 26 Jun 2014 20:13:23 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 20:13:23 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CC81F91821B; Thu, 26 Jun 2014 20:13:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wfarner@apache.org To: commits@aurora.incubator.apache.org Message-Id: <27fcb4d54a93478bad55cafd5af18340@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Fix build break in code generator. Date: Thu, 26 Jun 2014 20:13:22 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-aurora Updated Branches: refs/heads/master ea2e8c4ec -> 7d31f8090 Fix build break in code generator. Reviewed at https://reviews.apache.org/r/23087/ Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/7d31f809 Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/7d31f809 Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/7d31f809 Branch: refs/heads/master Commit: 7d31f8090f3963a4108166122880f043413ecc1a Parents: ea2e8c4 Author: Bill Farner Authored: Thu Jun 26 13:13:18 2014 -0700 Committer: Bill Farner Committed: Thu Jun 26 13:13:18 2014 -0700 ---------------------------------------------------------------------- src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/7d31f809/src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py ---------------------------------------------------------------------- diff --git a/src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py b/src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py index d16cfdd..13e3461 100644 --- a/src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py +++ b/src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py @@ -53,7 +53,7 @@ class ParameterizedType(Type): def param_names(self): def name(t): if isinstance(t, StructType): - return t.codegen_name + return t.name if t.kind == 'enum' else t.codegen_name elif isinstance(t, PrimitiveType): return t.boxed_name else: