From 5c055ba92fe713097e2362616b738f26441902ae Mon Sep 17 00:00:00 2001 From: Piotr Zalewa Date: Sat, 28 Jan 2012 01:01:15 +0100 Subject: [PATCH] force SDK description updated --- apps/jetpack/management/commands/force_sdk.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/apps/jetpack/management/commands/force_sdk.py b/apps/jetpack/management/commands/force_sdk.py index 7ff187d7..5dd562c2 100644 --- a/apps/jetpack/management/commands/force_sdk.py +++ b/apps/jetpack/management/commands/force_sdk.py @@ -18,27 +18,14 @@ log = commonware.log.getLogger('f.jetpack') class Command(BaseCommand): - args = "" - option_list = BaseCommand.option_list + ( - make_option('--purge', - action='store_true', - dest='purge', - default=False, - help='Delete all SDK except of target version'), - make_option('--force_purge', - action='store_true', - dest='force_purge', - default=False, - help="Don't bother about the errors") - ) + args = "" def handle(self, target_version, from_version, *args, **kwargs): """Force add-ons to use SDK with version ``target_version`` :params: * target_version (string) Use that target_version - * from_version (string) Choose add-ons using sdk with higher - version + * from_version (string) Choose add-ons using sdk with that version """ try: sdk = SDK.objects.get(version=target_version)