summaryrefslogtreecommitdiff
path: root/tempita/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tempita/__init__.py')
-rw-r--r--tempita/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tempita/__init__.py b/tempita/__init__.py
index 52dcbe2..bfc0d19 100644
--- a/tempita/__init__.py
+++ b/tempita/__init__.py
@@ -33,7 +33,7 @@ import re
import sys
import cgi
import urllib
-from _looper import looper
+from tempita._looper import looper
__all__ = ['TemplateError', 'Template', 'sub', 'HTMLTemplate',
'sub_html', 'html', 'bunch']
@@ -733,8 +733,7 @@ def fill_command(args=None):
options, args = parser.parse_args(args)
if len(args) < 1:
print 'You must give a template filename'
- print dir(parser)
- assert 0
+ sys.exit(2)
template_name = args[0]
args = args[1:]
vars = {}