From bd2f1308159bc5ab38ecbf6be8cb94afe0d625a4 Mon Sep 17 00:00:00 2001 From: "ph4ntome@gmail.com" Date: Thu, 30 Oct 2014 22:15:02 +0000 Subject: [PATCH] bad idea, reverted holiday.py to previous version. git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@168 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df --- lib/holiday.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/holiday.py b/lib/holiday.py index ff58cf9..f3d4fdd 100644 --- a/lib/holiday.py +++ b/lib/holiday.py @@ -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