mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
refactor: Replace super(.*self) with Python 3-specific super().
We change all the instances except for the `test_helpers.py` TimeTrackingCursor monkey-patching, which actually needs to specify the base class.
This commit is contained in:
@@ -25,7 +25,7 @@ class Command(compilemessages.Command):
|
||||
# version
|
||||
settings.STATIC_ROOT = os.path.join(settings.DEPLOY_ROOT, "static")
|
||||
settings.LOCALE_PATHS = (os.path.join(settings.DEPLOY_ROOT, 'static/locale'),)
|
||||
super(Command, self).handle(*args, **options)
|
||||
super().handle(*args, **options)
|
||||
self.extract_language_options()
|
||||
self.create_language_name_map()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user