]> git.llucax.com Git - software/blitiri.git/commitdiff
Remove dead code
authorLeandro Lucarella <llucax@gmail.com>
Tue, 5 Aug 2008 22:35:25 +0000 (19:35 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Fri, 8 Aug 2008 22:53:20 +0000 (19:53 -0300)
blitiri.cgi

index eea49b512feff527fadebfc3f6efbbd9484866a1..123fe751d76578b2a532660c1ed1a1517f4f11ad 100755 (executable)
@@ -354,12 +354,6 @@ class Article (object):
                self.loaded = True
 
        def to_html(self):
-               try:
-                       raw = open(data_path + '/' + self.path).readlines()
-               except:
-                       return "Can't open post file<p>"
-               raw = raw[raw.index('\n'):]
-
                return rst_to_html(self.raw_content)
 
        def to_vars(self):