[REVIEW] Progress bars for tree transforms

Robert Collins robertc at robertcollins.net
Mon Mar 6 23:11:18 GMT 2006


On Tue, 2006-02-21 at 16:19 -0500, Aaron Bentley wrote:
> 
> Class UIFactory:
>    def __init__(self):
>      self.__state = SilentThingy()
>    def progress_bar(self):
>      return self.__state.progress_bar()
>    def setFactory(self, factoryobj):
>      self.__state = factoryobj
> 
> ui_factory = UIFactory() 


+1 with tests :)

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060307/7c3811e9/attachment.pgp 


More information about the bazaar mailing list