From 468769681b3f871ea1465368baec2bf129a61ed7 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 7 Dec 2006 14:58:23 -0700 Subject: [PATCH] figleaf gets confused when the last line of a file is a comment --- allmydata/interfaces.py | 5 +++++ allmydata/webish.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/allmydata/interfaces.py b/allmydata/interfaces.py index d7dffeac..14d081e3 100644 --- a/allmydata/interfaces.py +++ b/allmydata/interfaces.py @@ -68,3 +68,8 @@ class RIMutableDirectoryNode(RemoteInterface): return Nothing() # need more to move directories + +# TODO: figleaf gets confused when the last line of a file is a comment. I +# suspect an off-by-one error in the code that decides which lines are code +# and which are not. +pass diff --git a/allmydata/webish.py b/allmydata/webish.py index 8823a241..e27bb85e 100644 --- a/allmydata/webish.py +++ b/allmydata/webish.py @@ -323,3 +323,8 @@ class WebishServer(service.MultiService): # I tried doing it this way and for some reason it didn't seem to work #print "REMEMBERING", self.site, dl, IDownloader #self.site.remember(dl, IDownloader) + +# TODO: figleaf gets confused when the last line of a file is a comment. I +# suspect an off-by-one error in the code that decides which lines are code +# and which are not. +pass -- 2.45.2