src/reportlab/lib/utils.py
changeset 3083 95f7752b0284
parent 3029 eded59f94021
child 3119 b9e540d1267a
child 3122 19218a7fd0e7
--- a/src/reportlab/lib/utils.py	Fri Jan 23 16:12:15 2009 +0000
+++ b/src/reportlab/lib/utils.py	Fri Jan 23 16:31:04 2009 +0000
@@ -677,13 +677,13 @@
                 return None
 
 class LazyImageReader(ImageReader): 
-    @property 
     def fp(self): 
         return open_for_read(self.fileName, 'b') 
+    fp=property(fp) 
 
-    @property 
     def _image(self):
         return self._read_image(self.fp)
+    _image=property(_image) 
 
 def getImageData(imageFileName):
     "Get width, height and RGB pixels from image file.  Wraps Java/PIL"