From 3411eca1e703b35ced86ab10cfbb29a61d32b498 Mon Sep 17 00:00:00 2001 From: Ebag333 Date: Fri, 24 Feb 2017 16:34:32 -0800 Subject: [PATCH] Fix a couple pep8 issues, and clean up other folks pep8 misses. :) --- eos/saveddata/fit.py | 1 - eos/saveddata/module.py | 2 +- gui/builtinStatsViews/outgoingViewFull.py | 2 -- gui/builtinStatsViews/outgoingViewMinimal.py | 2 -- service/crest.py | 1 - service/server.py | 1 + 6 files changed, 2 insertions(+), 7 deletions(-) diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index df6652d27..113ff98b5 100644 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -18,7 +18,6 @@ # =============================================================================== import time -import math from copy import deepcopy from itertools import chain from math import sqrt, log, asinh diff --git a/eos/saveddata/module.py b/eos/saveddata/module.py index 4735c95c6..55da98d63 100644 --- a/eos/saveddata/module.py +++ b/eos/saveddata/module.py @@ -723,7 +723,7 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut): @property def disallowRepeatingAction(self): - return self.getModifiedItemAttr("disallowRepeatingAction", 0) + return self.getModifiedItemAttr("disallowRepeatingAction", 0) @property def reactivationDelay(self): diff --git a/gui/builtinStatsViews/outgoingViewFull.py b/gui/builtinStatsViews/outgoingViewFull.py index 9e92f2db9..346aacc7a 100644 --- a/gui/builtinStatsViews/outgoingViewFull.py +++ b/gui/builtinStatsViews/outgoingViewFull.py @@ -44,8 +44,6 @@ class OutgoingViewFull(StatsView): parent = self.panel = contentPanel self.headerPanel = headerPanel - panel = "full" - sizerOutgoing = wx.GridSizer(1, 4) contentSizer.Add(sizerOutgoing, 0, wx.EXPAND, 0) diff --git a/gui/builtinStatsViews/outgoingViewMinimal.py b/gui/builtinStatsViews/outgoingViewMinimal.py index 9e92f2db9..346aacc7a 100644 --- a/gui/builtinStatsViews/outgoingViewMinimal.py +++ b/gui/builtinStatsViews/outgoingViewMinimal.py @@ -44,8 +44,6 @@ class OutgoingViewFull(StatsView): parent = self.panel = contentPanel self.headerPanel = headerPanel - panel = "full" - sizerOutgoing = wx.GridSizer(1, 4) contentSizer.Add(sizerOutgoing, 0, wx.EXPAND, 0) diff --git a/service/crest.py b/service/crest.py index bbe8cd1bb..f968df7a3 100644 --- a/service/crest.py +++ b/service/crest.py @@ -1,6 +1,5 @@ # noinspection PyPackageRequirements import wx -import thread import logging import threading import copy diff --git a/service/server.py b/service/server.py index 38ecebfe4..c75892d70 100644 --- a/service/server.py +++ b/service/server.py @@ -55,6 +55,7 @@ else {{ ''' + # https://github.com/fuzzysteve/CREST-Market-Downloader/ class AuthHandler(BaseHTTPServer.BaseHTTPRequestHandler): def do_GET(self):