mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[doc] add comment to speak intent
This commit is contained in:
parent
9cd760defd
commit
e8196cbc98
1 changed files with 1 additions and 0 deletions
|
@ -1173,6 +1173,7 @@ def app_checkurl(auth, url, app=None):
|
|||
raise MoulinetteError(errno.EINVAL,
|
||||
m18n.n('app_location_already_used',
|
||||
app=a["id"], path=path))
|
||||
# can't install "/a/b/" if "/a/" exists
|
||||
elif path.startswith(p) or p.startswith(path):
|
||||
raise MoulinetteError(errno.EPERM,
|
||||
m18n.n('app_location_install_failed',
|
||||
|
|
Loading…
Add table
Reference in a new issue