mirror of
https://github.com/oDinZu/callirhoe.git
synced 2025-02-23 00:02:16 -05:00
bad idea, reverted holiday.py to previous version.
git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@168 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
parent
fd7ced7d66
commit
bd2f130815
@ -23,7 +23,6 @@
|
||||
# *****************************************
|
||||
|
||||
from datetime import date, timedelta
|
||||
import pkg_resources
|
||||
|
||||
def _get_orthodox_easter(year):
|
||||
"""compute date of orthodox easter
|
||||
@ -319,7 +318,7 @@ class HolidayProvider(object):
|
||||
|
||||
@param filename: file to be loaded
|
||||
"""
|
||||
with open(pkg_resources.resource_stream(filename), 'r') as f:
|
||||
with open(filename, 'r') as f:
|
||||
for line in f:
|
||||
line = line.strip()
|
||||
if not line: continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user