Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Update
virt-manager
virttests-python2-to-python3-conversion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virttests-python2-to-python3-conversion.patch of Package virt-manager
Index: virt-manager-2.1.0/tests/clitest.py =================================================================== --- virt-manager-2.1.0.orig/tests/clitest.py +++ virt-manager-2.1.0/tests/clitest.py @@ -204,7 +204,7 @@ class Command(object): try: conn = None - for idx in reversed(range(len(self.argv))): + for idx in reversed(list(range(len(self.argv)))): if self.argv[idx] == "--connect": conn = utils.URIs.openconn(self.argv[idx + 1]) break Index: virt-manager-2.1.0/tests/test_inject.py =================================================================== --- virt-manager-2.1.0.orig/tests/test_inject.py +++ virt-manager-2.1.0/tests/test_inject.py @@ -15,7 +15,7 @@ FEDORA_URL = "http://dl.fedoraproject.or (WARN_RHEL5, WARN_DEBIAN, - WARN_FEDORA) = range(1, 4) + WARN_FEDORA) = list(range(1, 4)) def prompt(): @@ -115,7 +115,7 @@ def _make_tests(): return lambda s: _test_distro(_d) idx = 0 - for dname, dobj in _alldistros.items(): + for dname, dobj in list(_alldistros.items()): idx += 1 setattr(InjectTests, "testInitrd%.3d_%s" % (idx, dname.replace("-", "_")), _make_check_cb(dobj))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor