From: Frank Brehm Date: Fri, 14 Sep 2018 13:42:31 +0000 (+0200) Subject: Applying flake8 to lib/webhooks/module_info.py X-Git-Tag: 1.6.4^2~116 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=0cfe0ae0b1db6fae4f02eb4831017952ff189e59;p=pixelpark%2Fpuppetmaster-webhooks.git Applying flake8 to lib/webhooks/module_info.py --- diff --git a/lib/webhooks/module_info.py b/lib/webhooks/module_info.py index 17e4d59..8a8a055 100644 --- a/lib/webhooks/module_info.py +++ b/lib/webhooks/module_info.py @@ -331,7 +331,7 @@ class ModuleInfo(BaseObject): local_version = self.local_versions[environment] if expected == local_version: return expected - return "{e} => {l}".format(e=expected, l=local_version) + return "{ex} => {lv}".format(ex=expected, lv=local_version) if environment in self.local_versions: local_version = self.local_versions[environment] else: @@ -630,8 +630,8 @@ class ModuleInfo(BaseObject): return module_info -# ============================================================================= +# ============================================================================= if __name__ == "__main__": pass