diff bin/publishdebianpackages.py @ 451:eacfd3744d16

capture only stdout for treepkginfo
author Bjoern Ricks <bricks@intevation.de>
date Fri, 13 Aug 2010 14:16:50 +0000
parents 12f3642e1756
children b7aad4cb58bb
line wrap: on
line diff
--- a/bin/publishdebianpackages.py	Wed Aug 11 07:45:26 2010 +0000
+++ b/bin/publishdebianpackages.py	Fri Aug 13 14:16:50 2010 +0000
@@ -18,7 +18,7 @@
 
 import treepkgcmd
 from treepkg.readconfig import read_config_section, convert_bool
-from treepkg.run import call, capture_output
+from treepkg.run import call, capture_stdout
 from treepkg.cmdexpand import cmdexpand
 from treepkg.publish import copy_arch_to_publishdir, prefix_for_remote_command,\
                             get_binary_arch
@@ -76,7 +76,7 @@
 def get_treepkg_info(variables):
     runremote = prefix_for_remote_command(variables["build_user"],
                                           variables["build_host"])
-    xml = capture_output(cmdexpand("@runremote $build_listpackages"
+    xml = capture_stdout(cmdexpand("@runremote $build_listpackages"
                                    " --newest=$num_newest"
                                    " --only-successful",
                                    runremote=runremote,
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)