From 82b08f79564159d7acbcaf255ed1ac1fb4882e64 Mon Sep 17 00:00:00 2001 From: Stephen Burrows Date: Wed, 27 Apr 2011 15:19:16 -0400 Subject: [PATCH] Removed backwards-compatibility for database template loader. Added VERSION information. --- __init__.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/__init__.py b/__init__.py index ba78dda..32297e0 100644 --- a/__init__.py +++ b/__init__.py @@ -1,15 +1 @@ -from philo.loaders.database import Loader - - -_loader = Loader() - - -def load_template_source(template_name, template_dirs=None): - # For backwards compatibility - import warnings - warnings.warn( - "'philo.load_template_source' is deprecated; use 'philo.loaders.database.Loader' instead.", - PendingDeprecationWarning - ) - return _loader.load_template_source(template_name, template_dirs) -load_template_source.is_usable = True +VERSION = (0, 0) -- 2.20.1