From b7a1bb673716e0bad237797435d5ecd7ff3e09b2 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 5 Aug 2008 19:35:25 -0300 Subject: [PATCH] Remove dead code --- blitiri.cgi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/blitiri.cgi b/blitiri.cgi index eea49b5..123fe75 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -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

" - raw = raw[raw.index('\n'):] - return rst_to_html(self.raw_content) def to_vars(self): -- 2.43.0