diff -r ce121af654e7 src/z3c/rml/pagetemplate.py
--- a/src/z3c/rml/pagetemplate.py	Sat May 09 19:17:43 2009 +0200
+++ b/src/z3c/rml/pagetemplate.py	Sat May 09 19:33:22 2009 +0200
@@ -19,15 +19,8 @@
 import zope
 from z3c.rml import rml2pdf
 
-try:
-    import zope.pagetemplate.pagetemplatefile
-except ImportError:
-    # zope.pagetemplate package has not been installed
-    import types
-    zope.pagetemplate = types.ModuleType('barcode')
-    zope.pagetemplate.pagetemplatefile = types.ModuleType('barcode')
-    zope.pagetemplate.pagetemplatefile.PageTemplateFile = object
-
+import zope.pagetemplate.pagetemplatefile
+    
 
 class RMLPageTemplateFile(zope.pagetemplate.pagetemplatefile.PageTemplateFile):
 
