diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-10-20 12:37:58 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-10-20 12:37:58 +0200 |
commit | c08ead8a454edf5b03197cb892c3976ccb88aca0 (patch) | |
tree | f976c3394524de2c1b884ba59385f6c4e18752f5 /gbp/rpm | |
parent | f986bba929392cdb18faf2e53b2323c5d6b2fa9e (diff) |
Kill six.integer_types
Diffstat (limited to 'gbp/rpm')
-rw-r--r-- | gbp/rpm/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/rpm/__init__.py b/gbp/rpm/__init__.py index c7782c94..ed7b1b38 100644 --- a/gbp/rpm/__init__.py +++ b/gbp/rpm/__init__.py @@ -301,7 +301,7 @@ class SpecFile(object): tagvalue = None # We don't support "multivalue" tags like "Provides:" or "SourceX:" # Rpm python doesn't support many of these, thus the explicit list - if isinstance(tagvalue, six.integer_types): + if isinstance(tagvalue, int): tagvalue = str(tagvalue) elif type(tagvalue) is list or tagname in self._listtags: tagvalue = None |