From: Brian Dolbec Date: Tue, 26 Nov 2013 15:06:46 +0000 (-0800) Subject: fix py-3 compatibility X-Git-Tag: v2.2.8~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b37f8a80a9ff959948926425109e1fc1c0901f32;p=portage.git fix py-3 compatibility --- diff --git a/pym/portage/tests/resolver/test_slot_conflict_rebuild.py b/pym/portage/tests/resolver/test_slot_conflict_rebuild.py index b1fd20889..0fe8f5dc4 100644 --- a/pym/portage/tests/resolver/test_slot_conflict_rebuild.py +++ b/pym/portage/tests/resolver/test_slot_conflict_rebuild.py @@ -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:=",