Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:sp5-rebuild
virt-manager.15254
virtconv-python2-to-python3-conversion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtconv-python2-to-python3-conversion.patch of Package virt-manager.15254
Index: virt-manager-1.4.3/virt-convert =================================================================== --- virt-manager-1.4.3.orig/virt-convert +++ virt-manager-1.4.3/virt-convert @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/python3 # # Copyright 2008, 2013, 2014 Red Hat, Inc. # Joey Boggs <jboggs@redhat.com> Index: virt-manager-1.4.3/virtconv/vmx.py =================================================================== --- virt-manager-1.4.3.orig/virtconv/vmx.py +++ virt-manager-1.4.3/virtconv/vmx.py @@ -271,7 +271,7 @@ class vmx_parser(parser_class): def _find_keys(prefixes): ret = [] - for key, value in config.items(): + for key, value in list(config.items()): for p in util.listify(prefixes): if key.startswith(p): ret.append((key, value)) Index: virt-manager-1.4.3/virtconv/ovf.py =================================================================== --- virt-manager-1.4.3.orig/virtconv/ovf.py +++ virt-manager-1.4.3/virtconv/ovf.py @@ -90,7 +90,7 @@ def node_list(node): child = node.children while child: child_list.append(child) - child = child.next + child = child.__next__ return child_list Index: virt-manager-1.4.3/virtconv/formats.py =================================================================== --- virt-manager-1.4.3.orig/virtconv/formats.py +++ virt-manager-1.4.3/virtconv/formats.py @@ -19,7 +19,7 @@ # MA 02110-1301 USA. # -from __future__ import print_function + from distutils.spawn import find_executable import logging
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