[csw-devel] SF.net SVN: gar:[12030] csw/mgar/gar/v2/lib/python/opencsw.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Dec 20 12:55:18 CET 2010
Revision: 12030
http://gar.svn.sourceforge.net/gar/?rev=12030&view=rev
Author: wahwah
Date: 2010-12-20 11:55:17 +0000 (Mon, 20 Dec 2010)
Log Message:
-----------
comparepkg: Display also user and group
When using the -p option, display not only file permissions, but also the user
and the group.
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-12-20 11:54:47 UTC (rev 12029)
+++ csw/mgar/gar/v2/lib/python/opencsw.py 2010-12-20 11:55:17 UTC (rev 12030)
@@ -544,7 +544,7 @@
installed_path = fields[3]
prototype_class = fields[2]
if self.analyze_permissions:
- line_to_add += " %s" % fields[4]
+ line_to_add += " %s %s %s" % tuple(fields[4:7])
mode, user, group = fields[4:7]
elif line_type in ('e'):
# Editable files
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