From de44e6f932b9d6c266498eee5460186f02ba4f01 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Tue, 21 Nov 2017 23:46:33 -0500 Subject: [PATCH] Get rid of some annoying messages --- eos/gamedata.py | 8 ++++---- eos/saveddata/fit.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eos/gamedata.py b/eos/gamedata.py index a6a03714e..a378c06ba 100644 --- a/eos/gamedata.py +++ b/eos/gamedata.py @@ -161,7 +161,7 @@ class Effect(EqBase): if it doesn't, set dummy values and add a dummy handler """ - pyfalog.debug("Generate effect handler for {}".format(self.name)) + #pyfalog.debug("Generate effect handler for {}".format(self.name)) try: self.__effectModule = effectModule = __import__('eos.effects.' + self.handlerName, fromlist=True) @@ -178,20 +178,20 @@ class Effect(EqBase): self.__runTime = "normal" self.__activeByDefault = True self.__type = None - pyfalog.debug("ImportError generating handler: {0}", e) + #pyfalog.debug("ImportError generating handler: {0}", e) except (AttributeError) as e: # Effect probably exists but there is an issue with it. Turn it into a dummy effect so we can continue, but flag it with an error. self.__handler = effectDummy self.__runTime = "normal" self.__activeByDefault = True self.__type = None - pyfalog.error("AttributeError generating handler: {0}", e) + #pyfalog.error("AttributeError generating handler: {0}", e) except Exception as e: self.__handler = effectDummy self.__runTime = "normal" self.__activeByDefault = True self.__type = None - pyfalog.critical("Exception generating handler:") + #pyfalog.critical("Exception generating handler:") pyfalog.critical(e) self.__generated = True diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index fdab15b63..87dbbce3b 100644 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -756,7 +756,7 @@ class Fit(object): # Loop through our run times here. These determine which effects are run in which order. for runTime in ("early", "normal", "late"): - pyfalog.debug("Run time: {0}", runTime) + #pyfalog.debug("Run time: {0}", runTime) # Items that are unrestricted. These items are run on the local fit # first and then projected onto the target fit it one is designated u = [ @@ -795,7 +795,7 @@ class Fit(object): # targetFit.register(item, origin=self) item.calculateModifiedAttributes(targetFit, runTime, False, True) - pyfalog.debug("Command Bonuses: {}".format(self.commandBonuses)) + #pyfalog.debug("Command Bonuses: {}".format(self.commandBonuses)) # If we are calculating our local or projected fit and have command bonuses, apply them if type != CalcType.COMMAND and self.commandBonuses: