mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-15 20:01:03 +00:00
cleanup
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2063 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
0c945cff8d
commit
6ffd2c60f0
1 changed files with 0 additions and 8 deletions
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
import os
|
||||
import re
|
||||
import datetime
|
||||
|
||||
import linkcheck.i18n
|
||||
import _linkchecker_configdata as configdata
|
||||
|
|
@ -94,10 +93,3 @@ def init_i18n ():
|
|||
locdir = os.path.join(configdata.install_data, 'share', 'locale')
|
||||
linkcheck.i18n.init(configdata.name, locdir)
|
||||
|
||||
def check_date ():
|
||||
"""check for special dates"""
|
||||
now = datetime.date.today()
|
||||
if now.day == 7 and now.month == 1:
|
||||
years = now.year - 2000
|
||||
return _("Happy Birtday for LinkChecker, I am %d years old!") % years
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue