From 85b93170fc53fb24e70ed2d3d0bb1d990f04be73 Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 17 Apr 2003 13:09:33 +0000 Subject: [PATCH] updated git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@837 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- ChangeLog | 5 +++++ debian/changelog | 6 ++++++ linkcheck/HttpUrlData.py | 2 ++ po/de.po | 13 +++++-------- po/fr.po | 4 ++-- po/nl.po | 4 ++-- setup.py | 2 +- test/output/test_http | 14 +++++++------- 8 files changed, 30 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7e63eff..8dde6b97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1.8.11 + * catch httplib.error exceptions + * ugh, urllib.py asks for passwords with getpass(); we switch + to urllib2.py which is nicer anyway. + 1.8.10 * new option --no-anchor-caching Changed files: linkchecker, linkcheck/{Config.py, UrlData.py}, FAQ diff --git a/debian/changelog b/debian/changelog index 4a2e873d..07f8bada 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +linkchecker (1.8.11-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam Thu, 17 Apr 2003 15:06:45 +0200 + linkchecker (1.8.10-1) unstable; urgency=low * New upstream release. diff --git a/linkcheck/HttpUrlData.py b/linkcheck/HttpUrlData.py index 65c81074..abc65a6c 100644 --- a/linkcheck/HttpUrlData.py +++ b/linkcheck/HttpUrlData.py @@ -36,6 +36,7 @@ class HttpUrlData (ProxyUrlData): "Url link with http scheme" netscape_re = re.compile("Netscape-Enterprise/") + def buildUrl (self): ProxyUrlData.buildUrl(self) # encode userinfo @@ -211,6 +212,7 @@ class HttpUrlData (ProxyUrlData): else: self.setValid("OK") + def _getHttpResponse (self, method="HEAD"): """Put request and return (status code, status text, mime object). host can be host:port format diff --git a/po/de.po b/po/de.po index 003708d0..a4d62155 100644 --- a/po/de.po +++ b/po/de.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: Mon Mar 31 15:31:59 2003\n" +"POT-Creation-Date: Thu Apr 17 15:06:57 2003\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Bastian Kleineidam \n" "Language-Team: LANGUAGE \n" @@ -36,8 +36,8 @@ msgstr "Fehlender / am Ende der FTP url" msgid "found" msgstr "gefunden" -msgid "Path is empty" -msgstr "Pfad ist leer" +msgid "URL path is empty, assuming '/' as path" +msgstr "URL Pfad ist leer, verwende '/'" msgid "Using Proxy %s" msgstr "Verwende Proxy %s" @@ -46,7 +46,7 @@ msgid "Access denied by robots.txt, checked only syntax" msgstr "Zugriff verweigert durch robots.txt; prüfe lediglich Syntax" msgid "Amazon servers block HTTP HEAD requests, using GET instead" -msgstr "" +msgstr "Amazon server blockieren HTTP HEAD Anfragen, verwende stattdessen GET" msgid "Enforced Proxy %s" msgstr "Erzwungener Proxy %s" @@ -316,7 +316,7 @@ msgid "Parent URL" msgstr "Vater URL" msgid "Extern" -msgstr "" +msgstr "Extern" msgid "Info" msgstr "Info" @@ -647,6 +647,3 @@ msgstr "keine Dateien oder URLs angegeben" msgid "Hit RETURN to finish" msgstr "Drücken Sie RETURN zum Beenden" - -#~ msgid "keyboard interrupt" -#~ msgstr "Unterbrechung durch Tastendruck" diff --git a/po/fr.po b/po/fr.po index bf532fc0..4187e1ce 100644 --- a/po/fr.po +++ b/po/fr.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: Mon Mar 31 15:31:59 2003\n" +"POT-Creation-Date: Thu Apr 17 15:06:57 2003\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -36,7 +36,7 @@ msgstr "" msgid "found" msgstr "trouvé" -msgid "Path is empty" +msgid "URL path is empty, assuming '/' as path" msgstr "" msgid "Using Proxy %s" diff --git a/po/nl.po b/po/nl.po index c48ece99..fe6faafb 100644 --- a/po/nl.po +++ b/po/nl.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: Mon Mar 31 15:31:59 2003\n" +"POT-Creation-Date: Thu Apr 17 15:06:57 2003\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Hans Bausewein \n" "Language-Team: LANGUAGE \n" @@ -36,7 +36,7 @@ msgstr "" msgid "found" msgstr "gevonden" -msgid "Path is empty" +msgid "URL path is empty, assuming '/' as path" msgstr "" msgid "Using Proxy %s" diff --git a/setup.py b/setup.py index a143f1c3..e7850f1f 100755 --- a/setup.py +++ b/setup.py @@ -144,7 +144,7 @@ myname = "Bastian Kleineidam" myemail = "calvin@users.sourceforge.net" setup (name = "linkchecker", - version = "1.8.10", + version = "1.8.11", description = "check HTML documents for broken links", author = myname, author_email = myemail, diff --git a/test/output/test_http b/test/output/test_http index 6c7a6260..1340dccb 100644 --- a/test/output/test_http +++ b/test/output/test_http @@ -3,11 +3,11 @@ url file:///home/calvin/projects/linkchecker/test/html/http.html valid url http://www.garantiertnixgutt.bla name bad url -warning Path is empty +warning URL path is empty, assuming '/' as path error url http://www.heise.de name ok -warning Path is empty +warning URL path is empty, assuming '/' as path valid url http:/www.heise.de name one slash @@ -18,17 +18,17 @@ name no slash error url http:// name no url -warning Path is empty +warning URL path is empty, assuming '/' as path error url http:/ cached name no url, one slash -warning Path is empty +warning URL path is empty, assuming '/' as path error url http: cached name no url, no slash -warning Path is empty +warning URL path is empty, assuming '/' as path error url http://www.blubb.de/stalter&sohn name unquoted ampersand @@ -43,12 +43,12 @@ valid url HtTP://WWW.hEIsE.DE cached name should be cached -warning Path is empty +warning URL path is empty, assuming '/' as path valid url HTTP://WWW.HEISE.DE cached name should be cached -warning Path is empty +warning URL path is empty, assuming '/' as path valid url http://www.heise.de/?quoted=ü name html entities