blank screen instead of login
- From: Matthew Good <trac (at) matt-good.net>
- Date: Fri, 17 Mar 2006 13:55:02 -0500
On Fri, 2006-03-17 at 10:15 -0800, John Hampton wrote:
> Matthew Good wrote:
>
> > Well, the --auth option can go in any order in relation to other
> > "options", but the list of project names are "arguments", not options.
> > Options being "-p", "-d", "--auth", or anything else starting with a
> > dash. Arguments are the list of additional items at the end which can
> > be anything (in this case project paths). The default behavior of the
> > OptionParser class in Python is not to allow options and arguments to be
> > interspersed.
>
> I thought that interspersed options were enabled by default. At least
> that's what I understand from this:
>
> http://www.python.org/doc/current/lib/optparse-other-methods.html
>
> I think that the bigger issue is that tracd was using getopt in 0.9.x
> and was only converted to optparse a few weeks ago in trunk. Now, you
> are right that the default behavior of getopt is to not allow
> interspersed options.
>
> http://www.python.org/doc/current/lib/module-getopt.html
Yes, you're right. I forgot that the option parsing had switched, so I
guess in the trunk the interspersed options and args should work.
--
Matthew Good <trac (at) matt-good.net>
_______________________________________________
Trac mailing list
Trac (at) lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac