MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / exportPatterns

Method exportPatterns

service/damagePattern.py:88–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 raise ImportError("%d patterns imported from clipboard; %d had errors" % (num, num - lenImports))
87
88 def exportPatterns(self):
89 patterns = self.getUserDamagePatternList()
90 for i in range(len(patterns) - 1, -1, -1):
91 if patterns[i].name in ("Uniform", "Selected Ammo"):
92 del patterns[i]
93
94 patterns.sort(key=lambda p: p.fullName)
95 return es_DamagePattern.exportPatterns(*patterns)

Callers

nothing calls this directly

Calls 2

sortMethod · 0.45

Tested by

no test coverage detected