Roger Binns
2006-11-29 03:29:53 UTC
+ res=self.sendpbcommand(req, self.protocolclass.sanyonumfilesresponse)
+ self.log("Skipping directory "+`idir`)
It is generally considered good Python practise to catch the explicit+ self.log("Skipping directory "+`idir`)
exceptions you care about (in this case BrewNoSuchDirectoryException).
Otherwise the code above will mask out other exceptions (permission
denied, timeouts etc).
Roger