git.ithinksw.org
/
philo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bf73482
)
Removed backwards-compatibility for database template loader. Added VERSION information.
author
Stephen Burrows
<stephen.r.burrows@gmail.com>
Wed, 27 Apr 2011 19:19:16 +0000
(15:19 -0400)
committer
Stephen Burrows
<stephen.r.burrows@gmail.com>
Wed, 27 Apr 2011 19:19:32 +0000
(15:19 -0400)
__init__.py
patch
|
blob
|
history
diff --git
a/__init__.py
b/__init__.py
index
ba78dda
..
32297e0
100644
(file)
--- 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)