projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cacaf8
)
Comment.remove() now ignores .sync_with_disk when removing the root comment.
author
W. Trevor King
<wking@drexel.edu>
Mon, 27 Jul 2009 11:56:17 +0000
(07:56 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 27 Jul 2009 11:56:17 +0000
(07:56 -0400)
libbe/comment.py
patch
|
blob
|
history
diff --git
a/libbe/comment.py
b/libbe/comment.py
index bf149209305ca0714c0462cc3eae7db9d78152b8..1e2ef1a8cb237339c968bd938c5580039e233433 100644
(file)
--- a/
libbe/comment.py
+++ b/
libbe/comment.py
@@
-591,7
+591,7
@@
class Comment(Tree, settings_object.SavedSettingsObject):
self.set_sync_with_disk(False)
def remove(self):
- if self.sync_with_disk == False:
+ if self.sync_with_disk == False
and self.uuid != INVALID_UUID
:
raise DiskAccessRequired("remove")
for comment in self.traverse():
path = comment.get_path()