mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 15:06:15 +01:00
Improved english message text.
This commit is contained in:
parent
56cfff9068
commit
3de185cc38
@ -319,8 +319,8 @@ class Serviceinfo:
|
|||||||
temp_dir = tempfile.mkdtemp()
|
temp_dir = tempfile.mkdtemp()
|
||||||
name = call.split(None, 1)[0]
|
name = call.split(None, 1)[0]
|
||||||
if not os.path.exists("/usr/lib/obs/service/"+name):
|
if not os.path.exists("/usr/lib/obs/service/"+name):
|
||||||
msg = "ERROR: service is not installed !"
|
msg = "ERROR: service is not installed!\n"
|
||||||
msg += "Can maybe solved with: zypper in obs-server-" + name
|
msg += "Maybe try this: zypper in obs-server-" + name
|
||||||
raise oscerr.APIError(msg)
|
raise oscerr.APIError(msg)
|
||||||
c = "/usr/lib/obs/service/" + call + " --outdir " + temp_dir
|
c = "/usr/lib/obs/service/" + call + " --outdir " + temp_dir
|
||||||
ret = subprocess.call(c, shell=True)
|
ret = subprocess.call(c, shell=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user