PageRenderTime 25ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/tests/regressiontests/bash_completion/management/commands/test_command.py

https://code.google.com/p/mango-py/
Python | 14 lines | 10 code | 4 blank | 0 comment | 0 complexity | d64be7093fca6184bd543e3aa352765e MD5 | raw file
 1import sys, os
 2from optparse import OptionParser, make_option
 3
 4from django.core.management.base import BaseCommand
 5
 6
 7class Command(BaseCommand):
 8    option_list = BaseCommand.option_list + (
 9        make_option("--list", action="store_true", dest="list",
10                    help="Print all options"),
11    )
12
13    def handle(self, *args, **options):
14        pass