From b4ed7280179e814b9837a0fbfa05ff8065dd8b50 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 5 Aug 2019 21:19:44 +0200 Subject: [vyos.configsession] Return the output of the external process from __run_command. --- python/vyos/configsession.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/vyos/configsession.py b/python/vyos/configsession.py index 78f332d66..1a8077edd 100644 --- a/python/vyos/configsession.py +++ b/python/vyos/configsession.py @@ -116,6 +116,7 @@ class ConfigSession(object): output = p.stdout.read().decode() if result != 0: raise ConfigSessionError(output) + return output def get_session_env(self): return self.__session_env -- cgit v1.2.3