From: Stephen Burrows Date: Wed, 27 Apr 2011 19:19:16 +0000 (-0400) Subject: Removed backwards-compatibility for database template loader. Added VERSION information. X-Git-Tag: philo-0.9~12^2~34 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/82b08f79564159d7acbcaf255ed1ac1fb4882e64?ds=inline;hp=bf7348280872f3e17f6cb766f27d57c41d9e2ae0 Removed backwards-compatibility for database template loader. Added VERSION information. --- 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)