Fix code style and unused imports

This commit is contained in:
fieldOfView 2018-10-03 23:07:37 +02:00
parent c2558f91dd
commit 477862d779
3 changed files with 4 additions and 9 deletions

View file

@ -4,10 +4,9 @@
from . import FirmwareUpdaterMachineAction from . import FirmwareUpdaterMachineAction
def getMetaData(): def getMetaData():
return { return {}
}
def register(app): def register(app):
return { "machine_action": [ return { "machine_action": [
FirmwareUpdaterMachineAction.FirmwareUpdaterMachineAction(), FirmwareUpdaterMachineAction.FirmwareUpdaterMachineAction()
]} ]}

View file

@ -2,9 +2,6 @@
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
from . import USBPrinterOutputDeviceManager from . import USBPrinterOutputDeviceManager
from PyQt5.QtQml import qmlRegisterSingletonType
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():

View file

@ -1,4 +1,4 @@
# Copyright (c) 2016 Ultimaker B.V. # Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
from . import BedLevelMachineAction from . import BedLevelMachineAction
@ -6,8 +6,7 @@ from . import UMOUpgradeSelection
from . import UM2UpgradeSelection from . import UM2UpgradeSelection
def getMetaData(): def getMetaData():
return { return {}
}
def register(app): def register(app):
return { "machine_action": [ return { "machine_action": [