git » blitiri » commit b7a1bb6

Remove dead code

author Leandro Lucarella
2008-08-05 22:35:25 UTC
committer Alberto Bertogli
2008-08-08 22:53:20 UTC
parent 5e9ec03d1df2e0b034c65f3f67b5064d8f434178

Remove dead code

blitiri.cgi +0 -6

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<p>"
-		raw = raw[raw.index('\n'):]
-
 		return rst_to_html(self.raw_content)
 
 	def to_vars(self):