utils: Simplify YAMLFile by removing the post_exit argument

Whatever function is passed in post_exit can simply be called by the caller
itself as the next statement.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati authored and Sunil Mohan Adapa committed 2019-02-14 16:39:05 -08:00
1 parent 938dadcae0
commit 753881b80f
3 files changed
+5 -9

No files matched your search

-1
View File
@@ -31,7 +31,6 @@ from plinth import action_utils
from plinth.modules import letsencrypt
from plinth.modules.matrixsynapse import (CONFIG_FILE_PATH,
get_configured_domain_name)
from plinth.utils import YAMLFile
def parse_arguments():