]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Applying flake8 to lib/webhooks/module_info.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 14 Sep 2018 13:42:31 +0000 (15:42 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 14 Sep 2018 13:42:31 +0000 (15:42 +0200)
lib/webhooks/module_info.py

index 17e4d59357b47ebe6a54ef3c642ff85857c5af82..8a8a05510b6b8ed82863019507fbc22d3882e808 100644 (file)
@@ -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