[csw-devel] SF.net SVN: gar:[17463] csw/mgar/gar/v2/lib/python
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Mar 19 15:47:58 CET 2012
Revision: 17463
http://gar.svn.sourceforge.net/gar/?rev=17463&view=rev
Author: wahwah
Date: 2012-03-19 14:47:57 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
checkpkg: A comment about libmagic problems
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/inspective_package.py
csw/mgar/gar/v2/lib/python/package.py
Modified: csw/mgar/gar/v2/lib/python/inspective_package.py
===================================================================
--- csw/mgar/gar/v2/lib/python/inspective_package.py 2012-03-19 14:47:35 UTC (rev 17462)
+++ csw/mgar/gar/v2/lib/python/inspective_package.py 2012-03-19 14:47:57 UTC (rev 17463)
@@ -426,6 +426,12 @@
logging.error("magic_cookie.file(%s) returned None. Retrying.",
full_path)
self.magic_cookie = self._GetCookie()
+ # In practice, this retrying doesn't help. There seems to be
+ # something process-related which prevents libmagic from
+ # functioning. The only known workaround is to shutdown the
+ # process and run it again.
+ #
+ # The issues have been observed with file-5.04.
return mime
Modified: csw/mgar/gar/v2/lib/python/package.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package.py 2012-03-19 14:47:35 UTC (rev 17462)
+++ csw/mgar/gar/v2/lib/python/package.py 2012-03-19 14:47:57 UTC (rev 17463)
@@ -426,6 +426,8 @@
def MakeAbsolutePath(self, p):
return os.path.join(self.pkgpath, p)
+
+
class PackageComparator(object):
def __init__(self, file_name_a, file_name_b,
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