mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 13:18:42 +02:00
python3 compatibility: raw_input
raw_input has been removed and equals to input in py3. Unfortunatelly no __future__ statement exists for that. Ensure all modules uses osc.core.raw_input except osc.cmdln, where there is NameError way implemented.
This commit is contained in:
@@ -17,7 +17,7 @@ except ImportError:
|
||||
from tempfile import NamedTemporaryFile, mkdtemp
|
||||
from osc.fetch import *
|
||||
from osc.core import get_buildinfo, store_read_apiurl, store_read_project, store_read_package, meta_exists, quote_plus, get_buildconfig, is_package_dir
|
||||
from osc.core import get_binarylist, get_binary_file, run_external
|
||||
from osc.core import get_binarylist, get_binary_file, run_external, raw_input
|
||||
from osc.util import rpmquery, debquery, archquery
|
||||
import osc.conf
|
||||
from . import oscerr
|
||||
|
Reference in New Issue
Block a user