mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
initialize apiurl always
This commit is contained in:
parent
8f1f94690d
commit
8f4bbb5718
@ -684,6 +684,8 @@ class Osc(cmdln.Cmdln):
|
|||||||
if len(args) > 0 and len(args) <= 2 and is_project_dir(os.getcwd()):
|
if len(args) > 0 and len(args) <= 2 and is_project_dir(os.getcwd()):
|
||||||
sys.exit('osc submitrequest from project directory is only working without target specs and for source linked files\n')
|
sys.exit('osc submitrequest from project directory is only working without target specs and for source linked files\n')
|
||||||
|
|
||||||
|
apiurl = conf.config['apiurl']
|
||||||
|
|
||||||
if len(args) == 0 and is_project_dir(os.getcwd()):
|
if len(args) == 0 and is_project_dir(os.getcwd()):
|
||||||
import cgi
|
import cgi
|
||||||
# submit requests for multiple packages are currently handled via multiple requests
|
# submit requests for multiple packages are currently handled via multiple requests
|
||||||
|
Loading…
Reference in New Issue
Block a user