fix py-3 compatibility
authorBrian Dolbec <dolsen@gentoo.org>
Tue, 26 Nov 2013 15:06:46 +0000 (07:06 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Tue, 26 Nov 2013 15:06:46 +0000 (07:06 -0800)
pym/portage/tests/resolver/test_slot_conflict_rebuild.py

index b1fd20889979c5c86cb1ebfae6b695dee2c6b480..0fe8f5dc4854ca51bb5d7b64ba19063d9dc4e9d4 100644 (file)
@@ -142,7 +142,7 @@ class SlotConflictRebuildTestCase(TestCase):
 
                expected_mergelist = ['app-misc/A-1', 'app-misc/B-2']
 
-               for i in xrange(5):
+               for i in list(range(5)):
                        ebuilds["app-misc/C%sC-1" % i] = {
                                "EAPI": "5",
                                "DEPEND": "app-misc/B:=",