Merge branch 'master' of evefit.org:pyfa

This commit is contained in:
HomeWorld
2010-10-13 21:58:57 +03:00
2 changed files with 5 additions and 1 deletions

2
eos

Submodule eos updated: 9466cb9799...c3429ba850

View File

@@ -269,6 +269,10 @@ class Fit(object):
fit = eos.db.getFit(fitID)
return fit.exportEft()
def exportXml(self, *fitIDs):
fits = map(lambda id: eos.db.getFit(id), fitIDs)
return Fit.exportXml(*fits)
def importFit(self, path):
f = file(path)
type, fits = eos.types.Fit.importAuto(f.read())