From: Brian Warner Date: Thu, 7 Dec 2006 21:58:23 +0000 (-0700) Subject: figleaf gets confused when the last line of a file is a comment X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~439 X-Git-Url: https://git.rkrishnan.org/copyable.html?a=commitdiff_plain;h=468769681b3f871ea1465368baec2bf129a61ed7;p=tahoe-lafs%2Ftahoe-lafs.git figleaf gets confused when the last line of a file is a comment --- 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