figleaf gets confused when the last line of a file is a comment

This commit is contained in:
Brian Warner 2006-12-07 14:58:23 -07:00
parent 4b11831da7
commit 468769681b
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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