linkeList: turn the bug printouts to debug level
authorGuido Günther <agx@sigxcpu.org>
Mon, 28 Jul 2014 13:35:01 +0000 (15:35 +0200)
committerJun Wang <junbill.wang@samsung.com>
Tue, 26 Jan 2016 15:31:21 +0000 (23:31 +0800)
We don't take any action anyway so no need to confuse users.

gbp/rpm/linkedlist.py

index ca00045..74d897b 100644 (file)
@@ -36,7 +36,7 @@ class LinkedListNode(object):
     def data(self):
         """Get data stored into node"""
         if self._data is None:
-            gbp.log.err("BUG: referencing a deleted node!")
+            gbp.log.debug("BUG: referencing a deleted node!")
             return("")
         return self._data
 
@@ -55,7 +55,7 @@ class LinkedListNode(object):
         ''
         """
         if data is None:
-            gbp.log.err("BUG: trying to store 'None', not allowed")
+            gbp.log.debug("BUG: trying to store 'None', not allowed")
             data = ""
         self._data = data