From 59aafebea7129f98b73a5218f9879a73e63b1538 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 4 May 2017 18:46:20 +0200 Subject: [PATCH] [microdecision] Fix typo in checkport, fixes issue 912 on redmine --- src/yunohost/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 2f80d0ac2..1d61ce876 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1071,8 +1071,8 @@ def app_checkport(port): # This import cannot be moved on top of file because it create a recursive # import... - from yunohost.tools import tools_portavailable - availability = tools_portavailable(port) + from yunohost.tools import tools_port_available + availability = tools_port_available(port) if availability["available"]: logger.success(m18n.n('port_available', port=int(port))) else: