Sorry ?

I don't understand this change: the usage of handleArg() is in replace.py :

if not genFactory.handleArg(arg):
    commandline_replacements.append(arg)

and it's the only call. We never use the return value of handleArg()

Could you elaborate more what you're doing here multichill?

Thanks =)


2009/1/28  <[email protected]>:
> Revision: 6307
> Author:   multichill
> Date:     2009-01-28 13:24:18 +0000 (Wed, 28 Jan 2009)
>
> Log Message:
> -----------
> Fix handleArg().
>
> Modified Paths:
> --------------
>    trunk/pywikipedia/pagegenerators.py
>
> Modified: trunk/pywikipedia/pagegenerators.py
> ===================================================================
> --- trunk/pywikipedia/pagegenerators.py 2009-01-27 20:38:34 UTC (rev 6306)
> +++ trunk/pywikipedia/pagegenerators.py 2009-01-28 13:24:18 UTC (rev 6307)
> @@ -1034,7 +1034,7 @@
>             pass
>         if gen:
>             self.gens.append(gen)
> -            return True
> +            return self.getCombinedGenerator()
>         else:
>             return False




-- 
Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to