Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
5eaece0e
Commit
5eaece0e
authored
Mar 12, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another attempt to do override
parent
aa665635
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
trans/management/commands/__init__.py
trans/management/commands/__init__.py
+2
-6
No files found.
trans/management/commands/__init__.py
View file @
5eaece0e
...
...
@@ -26,12 +26,10 @@ from optparse import make_option
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.
'''
# Abstract class is only referenced 1 times
# pylint: disable=R0921,R0922
args
=
'<project/subproject>'
option_list
=
BaseCommand
.
option_list
+
(
make_option
(
...
...
@@ -96,13 +94,11 @@ class WeblateCommand(BaseCommand):
raise
NotImplementedError
()
class
WeblateLangCommand
(
WeblateCommand
):
class
WeblateLangCommand
(
WeblateCommand
):
# pylint: disable=R0921,R0922
'''
Command accepting additional language parameter to filter
list of languages to process.
'''
# Abstract class is only referenced 1 times
# pylint: disable=R0921,R0922
option_list
=
WeblateCommand
.
option_list
+
(
make_option
(
'--lang'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment