diff --git a/linkcheck/HostCheckingUrlData.py b/linkcheck/HostCheckingUrlData.py index 2803003e..e111bd44 100644 --- a/linkcheck/HostCheckingUrlData.py +++ b/linkcheck/HostCheckingUrlData.py @@ -17,6 +17,7 @@ import socket, urllib from UrlData import UrlData +from linkcheck import i18n class HostCheckingUrlData (UrlData): "Url link for which we have to connect to a specific host" diff --git a/linkcheck/TelnetUrlData.py b/linkcheck/TelnetUrlData.py index b3eae64b..4a61a425 100644 --- a/linkcheck/TelnetUrlData.py +++ b/linkcheck/TelnetUrlData.py @@ -15,8 +15,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -import telnetlib, urlparse, i18n -from linkcheck import Config, error +import telnetlib, urlparse +from linkcheck import Config, error, i18n from urllib import splituser, splithost, splitport, splitpasswd from HostCheckingUrlData import HostCheckingUrlData from UrlData import is_valid_port