[Checkins] SVN: grokproject/trunk/grokproject/__init__.py Remove duplicate handling of capitalized class name.

Maurits van Rees m.van.rees at zestsoftware.nl
Fri May 2 13:21:08 EDT 2008


Log message for revision 86107:
  Remove duplicate handling of capitalized class name.

Changed:
  U   grokproject/trunk/grokproject/__init__.py

-=-
Modified: grokproject/trunk/grokproject/__init__.py
===================================================================
--- grokproject/trunk/grokproject/__init__.py	2008-05-02 16:22:53 UTC (rev 86106)
+++ grokproject/trunk/grokproject/__init__.py	2008-05-02 17:21:05 UTC (rev 86107)
@@ -138,7 +138,6 @@
 
     # create sandbox using paste.script
     project = args[0]
-    app_class_name = project.capitalize()
     commands = command.get_commands()
     cmd = commands['create'].load()
     runner = cmd('create')
@@ -149,16 +148,13 @@
     if not options.verbose:
         option_args.append('-q')
 
-    extra_args = []
-    extra_args.append('%s=%s' % ('app_class_name', app_class_name))
-
     # Process the options that override the interactive part of filling
     # the templates.
+    extra_args = []
     for var in GrokProject.vars:
         supplied_value = getattr(options, var.name)
         if supplied_value is not None:
             extra_args.append('%s=%s' % (var.name, supplied_value))
-
     exit_code = runner.run(option_args + ['-t', 'grok', project]
                            + extra_args)
     sys.exit(exit_code)



More information about the Checkins mailing list