Update yunohost_tools.py

This commit is contained in:
abeudin 2014-03-11 18:15:39 +01:00
parent f64a9bc349
commit 76b2809f08

View file

@ -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():