File apitools-fix-metaclass-usage-for-six-1.11.0.patch of Package python-google-apitools.24455
From adbb82c4f0eb10c3ccdb0f0008a037b0251b220b Mon Sep 17 00:00:00 2001
From: Rose Davidson <rhd@google.com>
Date: Tue, 19 Sep 2017 11:57:28 -0700
Subject: [PATCH] Fix metaclass usage for six 1.11.0.
---
apitools/base/protorpclite/messages.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/apitools/base/protorpclite/messages.py b/apitools/base/protorpclite/messages.py
index df59d18..616eccb 100644
--- a/apitools/base/protorpclite/messages.py
+++ b/apitools/base/protorpclite/messages.py
@@ -1168,12 +1168,6 @@ class Field(six.with_metaclass(_FieldMeta, object)):
__initialized = False # pylint:disable=invalid-name
__variant_to_type = {} # pylint:disable=invalid-name
- # TODO(craigcitro): Remove this alias.
- #
- # We add an alias here for backwards compatibility; note that in
- # python3, this attribute will silently be ignored.
- __metaclass__ = _FieldMeta
-
@util.positional(2)
def __init__(self,
number,