debug message on opening url

This commit is contained in:
Christophe Benz 2010-04-22 14:41:07 +02:00 committed by Romain Bignon
commit 952d99adaa

View file

@ -240,6 +240,8 @@ class BaseBrowser(mechanize.Browser):
keep_args = copy(args)
keep_kwargs = kwargs.copy()
debug('[%s] Opening URL %s' % (self.username, args[0]))
try:
self._change_location(mechanize.Browser.open(self, *args, **kwargs))
except BrowserRetry: