[snowy] Fix typo that made private notes viewable by any other user.
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Subject: [snowy] Fix typo that made private notes viewable by any other user.
- Date: Mon, 29 Jun 2009 15:34:24 +0000 (UTC)
commit 455192b34b00e16b3fa0b2a45388de4327ca0c7b
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Sun Jun 28 09:05:08 2009 -0700
Fix typo that made private notes viewable by any other user.
notes/managers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/notes/managers.py b/notes/managers.py
index cfc4722..b41ce66 100644
--- a/notes/managers.py
+++ b/notes/managers.py
@@ -22,5 +22,5 @@ class NoteManager(models.Manager):
notes = self.filter(author=author)
if request_user != author:
# Public notes only
- notes.filter(permissions=1)
+ notes = notes.filter(permissions=1)
return notes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]