From 7cd3bad795bd5a298752ef6050009b29fddcaba9 Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 27 Oct 2004 13:57:52 +0000 Subject: [PATCH] unicode for string constants git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1881 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/configuration.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/linkcheck/configuration.py b/linkcheck/configuration.py index acf4e6cd..b340fe28 100644 --- a/linkcheck/configuration.py +++ b/linkcheck/configuration.py @@ -30,18 +30,18 @@ import linkcheck.log import linkcheck.containers Version = _linkchecker_configdata.version -AppName = "LinkChecker" -App = AppName+" "+Version +AppName = u"LinkChecker" +App = AppName+u" "+Version Author = _linkchecker_configdata.author -HtmlAuthor = Author.replace(' ', ' ') -Copyright = "Copyright © 2000-2004 "+Author -HtmlCopyright = "Copyright © 2000-2004 "+HtmlAuthor -AppInfo = App+" "+Copyright -HtmlAppInfo = App+", "+HtmlCopyright +HtmlAuthor = Author.replace(u' ', u' ') +Copyright = u"Copyright © 2000-2004 "+Author +HtmlCopyright = u"Copyright © 2000-2004 "+HtmlAuthor +AppInfo = App+u" "+Copyright +HtmlAppInfo = App+u", "+HtmlCopyright Url = _linkchecker_configdata.url Email = _linkchecker_configdata.author_email -UserAgent = "%s/%s (%s; %s)" % (AppName, Version, Url, Email) -Freeware = AppName+""" comes with ABSOLUTELY NO WARRANTY! +UserAgent = u"%s/%s (%s; %s)" % (AppName, Version, Url, Email) +Freeware = AppName+u""" comes with ABSOLUTELY NO WARRANTY! This is free software, and you are welcome to redistribute it under certain conditions. Look at the file `LICENSE' within this distribution."""