Commit 6270b71f authored by Michal Čihař's avatar Michal Čihař

Fix various coding style errors

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent fa41f13e
......@@ -23,7 +23,7 @@ from __future__ import unicode_literals
import argparse
import json
from django.core.management.base import BaseCommand, CommandError
from django.core.management.base import BaseCommand
from django.contrib.auth.models import User
......@@ -40,7 +40,7 @@ class Command(BaseCommand):
'json-file',
type=argparse.FileType('rb'),
help='File to import',
)
)
def handle(self, *args, **options):
'''
......
......@@ -106,7 +106,8 @@ class WeblateCommand(BaseCommand):
elif len(options['component']) == 0:
# no argumets to filter projects
self.stderr.write(
'Please specify either --all or at least one <project/component>'
'Please specify either --all '
'or at least one <project/component>'
)
raise CommandError('Nothing to process!')
else:
......
......@@ -21,7 +21,7 @@
import cProfile
import pstats
from django.core.management.base import BaseCommand, CommandError
from django.core.management.base import BaseCommand
from weblate.trans.models import SubProject, Project
......@@ -53,7 +53,7 @@ class Command(BaseCommand):
)
parser.add_argument(
'repo',
help='VCS repository URL',
help='Test VCS repository URL',
)
parser.add_argument(
'mask',
......
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