formatting fixes
This commit is contained in:
@@ -101,4 +101,3 @@ class CopySelectDialog(wx.Dialog):
|
||||
if v.IsChecked():
|
||||
i = i ^ x
|
||||
return i
|
||||
|
||||
|
||||
@@ -741,7 +741,7 @@ class MainFrame(wx.Frame):
|
||||
|
||||
def exportToClipboard(self, event):
|
||||
CopySelectDict = {CopySelectDialog.copyFormatEft: self.clipboardEft,
|
||||
#CopySelectDialog.copyFormatEftImps: self.clipboardEftImps,
|
||||
# CopySelectDialog.copyFormatEftImps: self.clipboardEftImps,
|
||||
CopySelectDialog.copyFormatXml: self.clipboardXml,
|
||||
CopySelectDialog.copyFormatDna: self.clipboardDna,
|
||||
CopySelectDialog.copyFormatEsi: self.clipboardEsi,
|
||||
|
||||
@@ -226,7 +226,6 @@ def importEft(eftString):
|
||||
_clearTail(section.itemSpecs)
|
||||
sections.append(section)
|
||||
|
||||
|
||||
hasDroneBay = any(s.isDroneBay for s in sections)
|
||||
hasFighterBay = any(s.isFighterBay for s in sections)
|
||||
for section in sections:
|
||||
@@ -507,6 +506,7 @@ def _importPrepareString(eftString):
|
||||
del lines[-1]
|
||||
return lines
|
||||
|
||||
|
||||
def _importGetMutationData(lines):
|
||||
data = {}
|
||||
consumedIndices = set()
|
||||
|
||||
@@ -231,7 +231,7 @@ class Port(object):
|
||||
# Use DNA format for all other cases
|
||||
return "DNA", (cls.importDna(string),)
|
||||
|
||||
### EFT-related methods
|
||||
# EFT-related methods
|
||||
@staticmethod
|
||||
def importEft(eftString):
|
||||
return importEft(eftString)
|
||||
@@ -244,7 +244,7 @@ class Port(object):
|
||||
def exportEft(cls, fit, options):
|
||||
return exportEft(fit, options)
|
||||
|
||||
### DNA-related methods
|
||||
# DNA-related methods
|
||||
@staticmethod
|
||||
def importDna(string):
|
||||
return importDna(string)
|
||||
@@ -253,7 +253,7 @@ class Port(object):
|
||||
def exportDna(fit):
|
||||
return exportDna(fit)
|
||||
|
||||
### ESI-related methods
|
||||
# ESI-related methods
|
||||
@staticmethod
|
||||
def importESI(string):
|
||||
return importESI(string)
|
||||
@@ -262,7 +262,7 @@ class Port(object):
|
||||
def exportESI(fit):
|
||||
return exportESI(fit)
|
||||
|
||||
### XML-related methods
|
||||
# XML-related methods
|
||||
@staticmethod
|
||||
def importXml(text, iportuser=None):
|
||||
return importXml(text, iportuser)
|
||||
@@ -271,7 +271,7 @@ class Port(object):
|
||||
def exportXml(iportuser=None, *fits):
|
||||
return exportXml(iportuser, *fits)
|
||||
|
||||
### Multibuy-related methods
|
||||
# Multibuy-related methods
|
||||
@staticmethod
|
||||
def exportMultiBuy(fit):
|
||||
return exportMultiBuy(fit)
|
||||
|
||||
Reference in New Issue
Block a user