Removed debugging prints

This commit is contained in:
blitzmann
2014-09-15 18:02:49 -04:00
parent 35d5c49745
commit c903dff8ad
5 changed files with 2 additions and 6 deletions

View File

@@ -95,7 +95,6 @@ class DamagePattern(object):
continue
if len(fields) == 4: # Avoid possible blank lines
print name, fields
pattern = DamagePattern(**fields)
pattern.name = name.strip()
patterns.append(pattern)

View File

@@ -820,7 +820,7 @@ class Fit(object):
weaponDPS = 0
droneDPS = 0
weaponVolley = 0
print "calc weapons with: %s"%self.targetResists
for mod in self.modules:
dps, volley = mod.damageStats(self.targetResists)
weaponDPS += dps

View File

@@ -24,7 +24,6 @@ class TargetResists(object):
DAMAGE_TYPES = ("em", "thermal", "kinetic", "explosive")
def __init__(self, emAmount = 0, thermalAmount = 0, kineticAmount = 0, explosiveAmount = 0):
print "new"
self.emAmount = emAmount
self.thermalAmount = thermalAmount
self.kineticAmount = kineticAmount
@@ -62,7 +61,6 @@ class TargetResists(object):
continue
if len(fields) == 4: # Avoid possible blank lines
print name, fields
pattern = TargetResists(**fields)
pattern.name = name.strip()
patterns.append(pattern)

View File

@@ -695,7 +695,7 @@ class Fit(object):
def setTargetResists(self, fitID, pattern):
if fitID is None:
return
print "Set target resists: %s"%pattern
fit = eos.db.getFit(fitID)
fit.targetResists = pattern
eos.db.commit()

View File

@@ -37,7 +37,6 @@ class TargetResists():
return eos.db.getTargetResistsList()
def getTargetResists(self, name):
print "Getting Target Resists: %s"%name
return eos.db.getTargetResists(name)
def newPattern(self):