commit:     bbd4e46ec8b9158d1559c6d052cdbe89c673fabc
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 17:11:37 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 17:13:40 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=bbd4e46e

repoman: define long for python3

Fixes: 006b168c1bb6 ("repoman: Fix versioning system")

 repoman/pym/repoman/__init__.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/repoman/pym/repoman/__init__.py b/repoman/pym/repoman/__init__.py
index 780b611..89779b9 100644
--- a/repoman/pym/repoman/__init__.py
+++ b/repoman/pym/repoman/__init__.py
@@ -20,6 +20,9 @@ except ImportError as e:
        sys.stderr.write("    "+str(e)+"\n\n")
        raise
 
+if sys.hexversion >= 0x3000000:
+       # pylint: disable=W0622
+       long = int
 
 VERSION = "HEAD"
 

Reply via email to