Command.handle()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
c 2
b 1
f 1
dl 0
loc 2
rs 10
cc 1
1
from django.core.management.base import BaseCommand, CommandError
2
from pages.plugins.pofiles.utils import import_po_files
3
4
class Command(BaseCommand):
5
    args = '<path>'
6
    help = import_po_files.__doc__
7
8
    def handle(self, *args, **options):
9
        import_po_files(*args)