From 76b2809f08dd9c5647d83deccc66da299cabaa15 Mon Sep 17 00:00:00 2001 From: abeudin Date: Tue, 11 Mar 2014 18:15:39 +0100 Subject: [PATCH] Update yunohost_tools.py --- yunohost_tools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index c3253af0..df427938 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -276,12 +276,15 @@ def tools_update(): else: return { "Update" : stdout.splitlines() } + def tools_changelog(): """ Show Changelog """ - win_msg(_("TODO Show Changelog")) + with open('/tmp/changelog', 'r') as f: + read_data = f.read() + return { "Changelog" : read_data.splitlines() } def tools_upgrade():