Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
virt-manager.7890
virtcli-python2-to-python3-conversion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtcli-python2-to-python3-conversion.patch of Package virt-manager.7890
Index: virt-manager-1.4.3/virtcli/cliconfig.py =================================================================== --- virt-manager-1.4.3.orig/virtcli/cliconfig.py +++ virt-manager-1.4.3/virtcli/cliconfig.py @@ -21,11 +21,11 @@ Configuration variables that can be set at build time """ -import ConfigParser +import configparser import os -_cfg = ConfigParser.ConfigParser() +_cfg = configparser.ConfigParser() _filepath = os.path.abspath(__file__) _srcdir = os.path.abspath(os.path.join(os.path.dirname(_filepath), "..")) _cfgpath = os.path.join(os.path.dirname(_filepath), "cli.cfg") @@ -46,7 +46,7 @@ def _get_param(name, default): return default try: return _cfg.get("config", name) - except (ConfigParser.NoOptionError, ConfigParser.NoSectionError): + except (configparser.NoOptionError, configparser.NoSectionError): return default
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