[PATCH] better plugins with optional loading

Lalo Martins lalo at exoweb.net
Wed Jun 15 03:55:44 BST 2005


And so says John Arbash Meinel on 06/15/2005 06:18 AM...
> +        if argv[1:2] == 'builtin':

This will never evaluate to True.  A range from a list will always be a
list.  So you need:
> +        if argv[1:2] == ['builtin']:


best,
                                               Lalo Martins
--
      So many of our dreams at first seem impossible,
       then they seem improbable, and then, when we
       summon the will, they soon become inevitable.
--
http://www.exoweb.net/                  mailto:lalo at exoweb.net
GNU: never give up freedom                 http://www.gnu.org/





More information about the bazaar mailing list