From 999541e876cb02bf27d6e7aaac0d141be4fa68df Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 8 Jan 2003 19:11:36 +0000 Subject: [PATCH] fix warning git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@734 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkchecker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linkchecker b/linkchecker index 6b392376..8182ba3c 100755 --- a/linkchecker +++ b/linkchecker @@ -248,7 +248,7 @@ for opt,arg in options: configfiles.append(arg) config.read(configfiles) # disable threading for debugging -if linkcheck.Config.DebugLevel > 0: +if get_debuglevel() > 0: config.disableThreading() # apply commandline options and arguments _user = "anonymous" @@ -385,7 +385,7 @@ if len(args)==0: urls = raw_input(i18n._("enter one or more urls, separated by white-space\n--> ")) args = urls.split() else: - config.warn(i18n._("no files or urls given")) + warn(i18n._("no files or urls given")) # syntactic sugar from linkcheck import UrlData