Removed debugging prints
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user