Hello,
Yes, this was a bug, I've just fixed it in the hg repository and it will be in
the next release (which should be pretty soon). You can get the development
trunk here:
http://bitbucket.org/bobf/bpython/
Let us know how it goes using bpython as the Django shell.
On Tue, Jun 02, 2009 at 08:19:07AM -0700, Russ Brown wrote:
>
> Hi,
>
> I just came across this project and figured I'd give it a try. I most
> use the python shell via django like so:
>
> python manage.py shell
>
> I wanted to try this using bpython instead, and hoped that it would be
> s imple drop-in replacement. But when replacing the python with
> bpython I get this backtrace:
>
> Traceback (most recent call last):
> File "build/bdist.linux-x86_64/egg/bpython/cli.py", line 1837, in
> main
> o = curses.wrapper(main_curses)
> File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
> return func(stdscr, *args, **kwds)
> File "build/bdist.linux-x86_64/egg/bpython/cli.py", line 1794, in
> main_curses
> loadini()
> File "build/bdist.linux-x86_64/egg/bpython/cli.py", line 1760, in
> loadini
> config.read(configfile)
> UnboundLocalError: local variable 'configfile' referenced before
> assignment
>
> Any ideas?
>
> Thanks,
>
> --
>
> Russ.
> >
--
Bob Farrell
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"bpython" 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/bpython?hl=en
-~----------~----~----~----~------~----~------~--~---