Commit 5eaece0e authored by Michal Čihař's avatar Michal Čihař

Another attempt to do override

parent aa665635
...@@ -26,12 +26,10 @@ from optparse import make_option ...@@ -26,12 +26,10 @@ from optparse import make_option
from trans.models import Unit, SubProject from trans.models import Unit, SubProject
class WeblateCommand(BaseCommand): class WeblateCommand(BaseCommand): # pylint: disable=R0921,R0922
''' '''
Command which accepts project/subproject/--all params to process. Command which accepts project/subproject/--all params to process.
''' '''
# Abstract class is only referenced 1 times
# pylint: disable=R0921,R0922
args = '<project/subproject>' args = '<project/subproject>'
option_list = BaseCommand.option_list + ( option_list = BaseCommand.option_list + (
make_option( make_option(
...@@ -96,13 +94,11 @@ class WeblateCommand(BaseCommand): ...@@ -96,13 +94,11 @@ class WeblateCommand(BaseCommand):
raise NotImplementedError() raise NotImplementedError()
class WeblateLangCommand(WeblateCommand): class WeblateLangCommand(WeblateCommand): # pylint: disable=R0921,R0922
''' '''
Command accepting additional language parameter to filter Command accepting additional language parameter to filter
list of languages to process. list of languages to process.
''' '''
# Abstract class is only referenced 1 times
# pylint: disable=R0921,R0922
option_list = WeblateCommand.option_list + ( option_list = WeblateCommand.option_list + (
make_option( make_option(
'--lang', '--lang',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment