diff idavoll/backend.py @ 98:b9c449f4c167

Removed debugging junk
author Ralph Meijer <ralphm@ik.nu>
date Wed, 24 Nov 2004 20:08:28 +0000
parents 3ad74552bbc7
children b75fcc554358
line wrap: on
line diff
--- a/idavoll/backend.py	Tue Nov 23 17:05:21 2004 +0000
+++ b/idavoll/backend.py	Wed Nov 24 20:08:28 2004 +0000
@@ -217,8 +217,6 @@
         elif not items and (persist_items or deliver_payloads):
             raise PayloadExpected
 
-        print "publish by %s to %s" % (requestor.full(), node_id)
-
         if persist_items or deliver_payloads:
             for item in items:
                 if not item.getAttribute("id"):
@@ -412,18 +410,11 @@
         return d
 
     def _do_get_items(self, result, node_id, max_items, item_ids):
-        def q(r):
-            print r
-            return r
-
         if not result:
             raise NotAuthorized
 
         if item_ids:
-            d = self.parent.storage.get_items_by_ids(node_id, item_ids)
-            d.addCallback(q)
-            d.addErrback(q)
-            return d
+            return self.parent.storage.get_items_by_ids(node_id, item_ids)
         else:
             return self.parent.storage.get_items(node_id, max_items)