diff options
author | Monty Taylor <mordred@inaugust.com> | 2017-06-16 19:31:47 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2017-06-19 10:34:57 -0500 |
commit | b934c1a0528b2fdc2cb49e5c9ca1bb3d27f6c4f2 (patch) | |
tree | 78baa344c891a0263210175f788c3a4a58c788d8 /zuul/source/__init__.py | |
parent | e7410af0514ef5d41466273271ec6a65547d8d6a (diff) | |
download | zuul-b934c1a0528b2fdc2cb49e5c9ca1bb3d27f6c4f2.tar.gz |
Remove use of six library
It exists only for py2/py3 compat. We do not need it any more.
This will explicitly break Zuul v3 for python2, which is different than
simply ceasing to test it and no longer declaring we support it. Since
we're not testing it any longer, it's bound to degrade overtime without
us noticing, so hopefully a clean and explicit break will prevent people
from running under python2 and it working for a minute, then breaking
later.
Change-Id: Ia16bb399a2869ab37a183f3f2197275bb3acafee
Diffstat (limited to 'zuul/source/__init__.py')
-rw-r--r-- | zuul/source/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/zuul/source/__init__.py b/zuul/source/__init__.py index 68baf0e00..b37aeb4d1 100644 --- a/zuul/source/__init__.py +++ b/zuul/source/__init__.py @@ -14,11 +14,8 @@ import abc -import six - -@six.add_metaclass(abc.ABCMeta) -class BaseSource(object): +class BaseSource(object, metaclass=abc.ABCMeta): """Base class for sources. A source class gives methods for fetching and updating changes. Each |