Most of the pep8 changes finished. Be careful, things may be horribly broken.
This commit is contained in:
@@ -18,18 +18,18 @@ class command():
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
||||
def getDescription(self):
|
||||
def get_description(self):
|
||||
return 'No description found'
|
||||
|
||||
def run(self):
|
||||
if self.env['input']['oldCapsLock'] == self.env['input']['newCapsLock']:
|
||||
return
|
||||
if self.env['input']['newCapsLock']:
|
||||
self.env['runtime']['outputManager'].presentText(
|
||||
self.env['runtime']['OutputManager'].present_text(
|
||||
_("Capslock on"), interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(
|
||||
self.env['runtime']['OutputManager'].present_text(
|
||||
_("Capslock off"), interrupt=True)
|
||||
|
||||
def setCallback(self, callback):
|
||||
def set_callback(self, callback):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user