Tox fixes
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
# along with pyfa. If not, see <http://www.gnu.org/licenses/>.
|
||||
# ===============================================================================
|
||||
|
||||
import sqlalchemy
|
||||
from sqlalchemy.exc import DatabaseError
|
||||
import logging
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
class EqBase(object):
|
||||
ID = None
|
||||
ID = None
|
||||
|
||||
def __eq__(self, other):
|
||||
return type(self) == type(other) and self.ID == other.ID
|
||||
|
||||
@@ -213,7 +213,7 @@ class Item(EqBase):
|
||||
category = None
|
||||
ID = None
|
||||
__attributes = None
|
||||
|
||||
|
||||
MOVE_ATTRS = (4, # Mass
|
||||
38, # Capacity
|
||||
161) # Volume
|
||||
|
||||
@@ -26,7 +26,7 @@ from gui.cachingImageList import CachingImageList
|
||||
|
||||
|
||||
class Display(wx.ListCtrl):
|
||||
DEFAULT_COLS = None
|
||||
DEFAULT_COLS = None
|
||||
|
||||
def __init__(self, parent, size=wx.DefaultSize, style=0):
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION
|
||||
|
||||
disableOverrideEditor = False
|
||||
except ImportError as e:
|
||||
AttributeEditor = None
|
||||
AttributeEditor = None
|
||||
print("Error loading Attribute Editor: %s.\nAccess to Attribute Editor is disabled." % e.message)
|
||||
disableOverrideEditor = True
|
||||
|
||||
|
||||
@@ -699,7 +699,7 @@ class _Parser(object):
|
||||
|
||||
|
||||
class Element(object):
|
||||
_name = None
|
||||
_name = None
|
||||
|
||||
# Element is a namespace for attributes and nested tags
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user