Mailinglist Archive: zypp-commit (325 mails)

< Previous Next >
[zypp-commit] r7229 - /trunk/repotools/zypptools/output/yast.rb
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Thu, 13 Sep 2007 09:26:51 -0000
  • Message-id: <20070913092651.9FF8235F45@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Thu Sep 13 11:26:51 2007
New Revision: 7229

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7229&view=rev
Log:
- filter packages

Modified:
    trunk/repotools/zypptools/output/yast.rb

Modified: trunk/repotools/zypptools/output/yast.rb
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/repotools/zypptools/output/yast.rb?rev=7229&r1=7228&r2=7229&view=diff
==============================================================================
--- trunk/repotools/zypptools/output/yast.rb (original)
+++ trunk/repotools/zypptools/output/yast.rb Thu Sep 13 11:26:51 2007
@@ -106,7 +106,8 @@
 
   def write_packages_en(resolvables)
 
-    pkgs = resolvables                  # FIXME: filter packages
+    pkgs = resolvables
+    pkgs.delete_if {|res| res.kind != :package}
 
     out = File.new(@path + "/suse/setup/descr/packages.en", 'w')
 

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages