Removed backwards-compatibility for database template loader. Added VERSION information.
authorStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 27 Apr 2011 19:19:16 +0000 (15:19 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 27 Apr 2011 19:19:32 +0000 (15:19 -0400)
__init__.py

index ba78dda..32297e0 100644 (file)
@@ -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)