From 00d9b9ee864d353d7b631927f0c4e1ddd4e56504 Mon Sep 17 00:00:00 2001 From: Moul Date: Wed, 10 May 2017 22:53:40 +0200 Subject: [PATCH] [fix] app_checkport was broken. --- src/yunohost/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 1d61ce876..acf1eb84e 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1072,8 +1072,7 @@ def app_checkport(port): # This import cannot be moved on top of file because it create a recursive # import... from yunohost.tools import tools_port_available - availability = tools_port_available(port) - if availability["available"]: + if tools_port_available(port): logger.success(m18n.n('port_available', port=int(port))) else: raise MoulinetteError(errno.EINVAL,