Tox fixes

This commit is contained in:
Ebag333
2017-02-09 00:59:22 -08:00
parent 7865219164
commit 579a13da44
6 changed files with 5 additions and 6 deletions

View File

@@ -17,7 +17,6 @@
# along with pyfa. If not, see <http://www.gnu.org/licenses/>.
# ===============================================================================
import sqlalchemy
from sqlalchemy.exc import DatabaseError
import logging

View File

@@ -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

View File

@@ -213,7 +213,7 @@ class Item(EqBase):
category = None
ID = None
__attributes = None
MOVE_ATTRS = (4, # Mass
38, # Capacity
161) # Volume

View File

@@ -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):

View File

@@ -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

View File

@@ -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):