mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
text cleanup
All evennia.web.website.tests pass.
This commit is contained in:
parent
51b1d3a814
commit
c8e14c05cc
4 changed files with 1 additions and 6 deletions
|
|
@ -16,7 +16,6 @@ from evennia.locks.lockhandler import LockHandler
|
|||
from evennia.utils.utils import is_iter, fill, lazy_property, make_iter
|
||||
from evennia.utils.evtable import EvTable
|
||||
from evennia.utils.ansi import ANSIString
|
||||
from evennia.utils.logger import log_info
|
||||
|
||||
|
||||
class InterruptCommand(Exception):
|
||||
|
|
@ -550,7 +549,6 @@ Command {self} has no defined `func()` - showing on-command variables:
|
|||
kwargs={"category": slugify(self.help_category), "topic": slugify(self.key)},
|
||||
)
|
||||
except Exception as e:
|
||||
log_info(f'Exception: {getattr(e, "message", repr(e))}')
|
||||
return "#"
|
||||
|
||||
def client_width(self):
|
||||
|
|
|
|||
|
|
@ -244,5 +244,3 @@ class FileHelpStorageHandler:
|
|||
|
||||
# singleton to hold the loaded help entries
|
||||
FILE_HELP_ENTRIES = FileHelpStorageHandler()
|
||||
# Used by Django Sites/Admin
|
||||
#get_absolute_url = web_get_detail_url
|
||||
|
|
|
|||
|
|
@ -237,7 +237,6 @@ class HelpEntry(SharedMemoryModel):
|
|||
"%s-detail" % slugify(self._meta.verbose_name),
|
||||
kwargs={"category": slugify(self.db_help_category), "topic": slugify(self.db_key)},
|
||||
)
|
||||
# log_info(f'HelpEntry web_get_detail_url url: {url}')
|
||||
return url
|
||||
except Exception:
|
||||
return "#"
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ class HelpDetailView(HelpMixin, DetailView):
|
|||
# Get the object in question
|
||||
obj = self.get_object(full_set)
|
||||
|
||||
# filter non related caegories from the query set
|
||||
# filter non related categories from the query set
|
||||
obj_category = get_help_category(obj)
|
||||
category_set = []
|
||||
for entry in full_set:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue