Cleaning up tox errors that crept in by the pep8 gremlins.
This commit is contained in:
@@ -16,4 +16,3 @@ settings = {
|
|||||||
|
|
||||||
# Autodetect path, only change if the autodetection bugs out.
|
# Autodetect path, only change if the autodetection bugs out.
|
||||||
path = dirname(unicode(__file__, sys.getfilesystemencoding()))
|
path = dirname(unicode(__file__, sys.getfilesystemencoding()))
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
#
|
#
|
||||||
# Used by:
|
# Used by:
|
||||||
# Modules from group: Tractor Beam (4 of 4)
|
# Modules from group: Tractor Beam (4 of 4)
|
||||||
type = "active"
|
|
||||||
from eos.config import settings
|
from eos.config import settings
|
||||||
|
type = "active"
|
||||||
|
|
||||||
|
|
||||||
def handler(fit, module, context):
|
def handler(fit, module, context):
|
||||||
print settings['setting1']
|
print settings['setting1']
|
||||||
|
|||||||
@@ -816,7 +816,7 @@ class Port(object):
|
|||||||
if callback:
|
if callback:
|
||||||
wx.CallAfter(callback, None)
|
wx.CallAfter(callback, None)
|
||||||
# Skip fit silently if we get an exception
|
# Skip fit silently if we get an exception
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pyfalog.error("Caught exception on fit.")
|
pyfalog.error("Caught exception on fit.")
|
||||||
pyfalog.error(e)
|
pyfalog.error(e)
|
||||||
pass
|
pass
|
||||||
|
|||||||
@@ -437,6 +437,7 @@ class ContextMenuSettings(object):
|
|||||||
def set(self, type, value):
|
def set(self, type, value):
|
||||||
self.ContextMenuDefaultSettings[type] = value
|
self.ContextMenuDefaultSettings[type] = value
|
||||||
|
|
||||||
|
|
||||||
class EOSSettings(object):
|
class EOSSettings(object):
|
||||||
_instance = None
|
_instance = None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user