fix command error message. There are really only two arguments supported (the optional 6 had been removed, but I forgot to change the message

This commit is contained in:
Chris Dodge
2012-12-27 10:30:26 -05:00
parent 28d9827468
commit 7088821233

View File

@@ -20,7 +20,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
if len(args) != 2:
raise CommandError("clone requires either two or six arguments: <source-location> <dest-location>")
raise CommandError("clone requires either two arguments: <source-location> <dest-location>")
source_location_str = args[0]
dest_location_str = args[1]