Most of the pep8 changes finished. Be careful, things may be horribly broken.

This commit is contained in:
Storm Dragon
2025-07-03 13:22:00 -04:00
parent 7408951152
commit 21bb9c6083
344 changed files with 6374 additions and 6083 deletions

View File

@ -17,12 +17,12 @@ class command():
def shutdown(self):
pass
def getDescription(self):
def get_description(self):
return _('get current help message')
def run(self):
text = self.env['runtime']['helpManager'].getHelpForCurrentIndex()
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
text = self.env['runtime']['HelpManager'].get_help_for_current_index()
self.env['runtime']['OutputManager'].present_text(text, interrupt=True)
def setCallback(self, callback):
def set_callback(self, callback):
pass

View File

@ -17,13 +17,13 @@ class command():
def shutdown(self):
pass
def getDescription(self):
def get_description(self):
return _('get next help message')
def run(self):
self.env['runtime']['helpManager'].nextIndex()
text = self.env['runtime']['helpManager'].getHelpForCurrentIndex()
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
self.env['runtime']['HelpManager'].next_index()
text = self.env['runtime']['HelpManager'].get_help_for_current_index()
self.env['runtime']['OutputManager'].present_text(text, interrupt=True)
def setCallback(self, callback):
def set_callback(self, callback):
pass

View File

@ -17,13 +17,13 @@ class command():
def shutdown(self):
pass
def getDescription(self):
def get_description(self):
return _('get prev help message')
def run(self):
self.env['runtime']['helpManager'].prevIndex()
text = self.env['runtime']['helpManager'].getHelpForCurrentIndex()
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
self.env['runtime']['HelpManager'].prev_index()
text = self.env['runtime']['HelpManager'].get_help_for_current_index()
self.env['runtime']['OutputManager'].present_text(text, interrupt=True)
def setCallback(self, callback):
def set_callback(self, callback):
pass