allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/4] git commit: [#6053] adjust debugging text
Date Tue, 25 Jun 2013 02:01:26 GMT
Updated Branches:
  refs/heads/master 4fc80e11e -> 5aeb9c097


[#6053] adjust debugging text


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/5cdcbbe8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/5cdcbbe8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/5cdcbbe8

Branch: refs/heads/master
Commit: 5cdcbbe865d38f768670e2d735d26853ae8bcc82
Parents: b58bd1c
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Mon Jun 24 22:05:05 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Tue Jun 25 02:00:44 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/notification.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/5cdcbbe8/Allura/allura/model/notification.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/notification.py b/Allura/allura/model/notification.py
index 2645428..eced9d8 100644
--- a/Allura/allura/model/notification.py
+++ b/Allura/allura/model/notification.py
@@ -239,7 +239,7 @@ class Notification(MappedClass):
         log.debug('Sending direct notification %s to user %s', self._id, user_id)
         # Don't send if user disabled
         if not user:
-            log.debug("Skipping notification - User %s isn't active " % user_id)
+            log.debug("Skipping notification - enabled user %s not found" % user_id)
             return
         # Don't send if user doesn't have read perms to the artifact
         if user and artifact and \
@@ -266,7 +266,7 @@ class Notification(MappedClass):
         if not notifications: return
         user = User.query.get(_id=ObjectId(user_id), disabled=False)
         if not user:
-            log.debug("Skipping notification - User %s isn't active " % user_id)
+            log.debug("Skipping notification - enabled user %s not found " % user_id)
             return
         # Filter out notifications for which the user doesn't have read
         # permissions to the artifact.


Mime
View raw message