From a98522cc7e5c1a6e64ee8b65648a005aa7494d1c Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 5 Dec 2018 22:12:28 +0100 Subject: Remove trailing spaces. --- lib/action_plugins/fetch_cmd.py | 2 +- lib/modules/mysql_user2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/action_plugins/fetch_cmd.py b/lib/action_plugins/fetch_cmd.py index b460868..57d7220 100644 --- a/lib/action_plugins/fetch_cmd.py +++ b/lib/action_plugins/fetch_cmd.py @@ -50,7 +50,7 @@ class ActionModule(ActionBase): local_checksum = checksum(dest) # calculate checksum for the remote file, don't bother if using become as slurp will be used - remote_checksum = self._remote_checksum(stdout, all_vars=task_vars) + remote_checksum = self._remote_checksum(stdout, all_vars=task_vars) if remote_checksum != local_checksum: makedirs_safe(os.path.dirname(dest)) diff --git a/lib/modules/mysql_user2 b/lib/modules/mysql_user2 index c3cc38f..f2d9d40 100644 --- a/lib/modules/mysql_user2 +++ b/lib/modules/mysql_user2 @@ -355,7 +355,7 @@ def _safe_cnf_load(config, path): data['password'] = line.split('=', 1)[1].strip() f.close() - # write out a new cnf file with only user/pass + # write out a new cnf file with only user/pass fh, newpath = tempfile.mkstemp(prefix=path + '.') f = open(newpath, 'wb') f.write('[client]\n') -- cgit v1.2.3