]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 1 Mar 2019 13:28:07 +0000 (14:28 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 1 Mar 2019 13:28:07 +0000 (14:28 +0100)
lib/webhooks/get_forge_modules.py

index 5d2dccd1d35375280bca1980a9f70a335d8a6ab9..869379596828f63cd44bc7eebeecac93750a17ed 100644 (file)
@@ -256,11 +256,11 @@ class GetForgeModulesApp(BaseHookApp):
                 if module_info:
                     self.forge_modules.append(module_info)
                 modules_done.append(full_name)
-            if not self.verbose:
-                if self.modules[full_name].forge_avail:
-                    print('.', end='', flush=True)
-                else:
-                    print('~', end='', flush=True)
+                if not self.verbose:
+                    if module_info:
+                        print('.', end='', flush=True)
+                    else:
+                        print('~', end='', flush=True)
 
         if self.verbose > 1:
             LOG.debug(_(