[csw-devel] SF.net SVN: gar:[10436] csw/mgar/gar/v2/lib/python/opencsw.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Jul 5 18:11:37 CEST 2010
Revision: 10436
http://gar.svn.sourceforge.net/gar/?rev=10436&view=rev
Author: wahwah
Date: 2010-07-05 16:11:37 +0000 (Mon, 05 Jul 2010)
Log Message:
-----------
mGAR v2: checkpkg, suppressing unhelpful hachoir warnings.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/opencsw.py
Modified: csw/mgar/gar/v2/lib/python/opencsw.py
===================================================================
--- csw/mgar/gar/v2/lib/python/opencsw.py 2010-07-05 14:14:07 UTC (rev 10435)
+++ csw/mgar/gar/v2/lib/python/opencsw.py 2010-07-05 16:11:37 UTC (rev 10436)
@@ -16,7 +16,6 @@
import datetime
import difflib
import hachoir_parser as hp
-import hachoir_core as hc
import hashlib
import magic
import logging
@@ -31,6 +30,11 @@
import configuration as c
from Cheetah import Template
+# Suppress unhelpful warnings
+# http://bitbucket.org/haypo/hachoir/issue/23
+import hachoir_core.config
+hachoir_core.config.quiet = True
+
ARCH_SPARC = "sparc"
ARCH_i386 = "i386"
ARCH_ALL = "all"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list