[SCM] morituri/master: * morituri/common/log.py: Add external log module and use it.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:08:50 UTC 2014


The following commit has been merged in the master branch:
commit 0cfa2d915a39ea64ef5187a9c80db08ff30023e5
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Fri May 1 08:13:35 2009 +0000

    	* morituri/common/log.py:
    	  Add external log module and use it.

diff --git a/ChangeLog b/ChangeLog
index f44196f..d55d9d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-01  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+	* morituri/common/log.py:
+	  Add external log module and use it.
+
 2009-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
 
 	* morituri/test/cure.toc (added):
diff --git a/misc/header.py b/morituri/common/log.py
similarity index 73%
copy from misc/header.py
copy to morituri/common/log.py
index 15b83ba..f6b40d0 100644
--- a/misc/header.py
+++ b/morituri/common/log.py
@@ -1,4 +1,4 @@
-# -*- Mode: Python; test-case-name: morituri.test.test_header -*-
+# -*- Mode: Python; test-case-name: morituri.test.test_common_checksum -*-
 # vi:si:et:sw=4:sts=4:ts=4
 
 # Morituri - for those about to RIP
@@ -19,3 +19,14 @@
 # 
 # You should have received a copy of the GNU General Public License
 # along with morituri.  If not, see <http://www.gnu.org/licenses/>.
+
+"""
+Logging
+"""
+
+from morituri.extern.log import log as externlog
+from morituri.extern.log.log import *
+
+def init():
+    externlog.init('RIP_DEBUG')
+    externlog.setPackageScrubList('morituri')

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list