diff options
Diffstat (limited to 'Lib/robotparser.py')
-rw-r--r-- | Lib/robotparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/robotparser.py b/Lib/robotparser.py index ff25dfe..c5943d0 100644 --- a/Lib/robotparser.py +++ b/Lib/robotparser.py @@ -201,7 +201,7 @@ class URLopener(urllib.FancyURLopener): self.errcode = 200 self.tries = 0 self.maxtries = 10 - + def http_error_default(self, url, fp, errcode, errmsg, headers): self.errcode = errcode return urllib.FancyURLopener.http_error_default(self, url, fp, errcode, |