Author: gwilson
Date: 2007-10-27 11:09:52 -0500 (Sat, 27 Oct 2007)
New Revision: 6622

Modified:
   django/trunk/django/core/management/commands/startapp.py
Log:
Wrapped some long lines and orginized imports.


Modified: django/trunk/django/core/management/commands/startapp.py
===================================================================
--- django/trunk/django/core/management/commands/startapp.py    2007-10-27 
16:05:59 UTC (rev 6621)
+++ django/trunk/django/core/management/commands/startapp.py    2007-10-27 
16:09:52 UTC (rev 6622)
@@ -1,8 +1,10 @@
-from django.core.management.base import copy_helper, CommandError, LabelCommand
 import os
 
+from django.core.management.base import copy_helper, CommandError, LabelCommand
+
 class Command(LabelCommand):
-    help = "Creates a Django app directory structure for the given app name in 
the current directory."
+    help = ("Creates a Django app directory structure for the given app name"
+            " in the current directory.")
     args = "[appname]"
     label = 'application name'
 
@@ -19,11 +21,13 @@
         # current directory if no directory was passed).
         project_name = os.path.basename(directory)
         if app_name == project_name:
-            raise CommandError("You cannot create an app with the same name 
(%r) as your project." % app_name)
+            raise CommandError("You cannot create an app with the same name"
+                               " (%r) as your project." % app_name)
         copy_helper(self.style, 'app', app_name, directory, project_name)
 
 class ProjectCommand(Command):
-    help = "Creates a Django app directory structure for the given app name in 
this project's directory."
+    help = ("Creates a Django app directory structure for the given app name"
+            " in this project's directory.")
 
     def __init__(self, project_directory):
         super(ProjectCommand, self).__init__()


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to