diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-07-25 23:08:41 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-07-25 23:08:41 +0000 |
commit | e6812fc4e63ad1521f035fbd49dfd2611f731ecd (patch) | |
tree | 8c28e7feb26f30c43c029159969b4b47e7bd8063 /plugins/xenserver | |
parent | a69e30d92196ce5ef1369aa54ec4fcb88a3b60db (diff) | |
parent | 3cc2264eea7fb5e052459a9f00a047775a5eb88f (diff) | |
download | nova-e6812fc4e63ad1521f035fbd49dfd2611f731ecd.tar.gz |
Merge "xenapi: Pass string arguments to popen"
Diffstat (limited to 'plugins/xenserver')
-rwxr-xr-x | plugins/xenserver/xenapi/etc/xapi.d/plugins/bittorrent | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/bittorrent b/plugins/xenserver/xenapi/etc/xapi.d/plugins/bittorrent index 111741e607..28eb076ecc 100755 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/bittorrent +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/bittorrent @@ -169,9 +169,9 @@ def _seed(torrent_path, seed_cache_path, torrent_seed_duration, torrent_listen_port_start, torrent_listen_port_end): plugin_path = os.path.dirname(inspect.getabsfile(inspect.currentframe())) seeder_path = os.path.join(plugin_path, SEEDER_PROCESS) - seed_cmd = [seeder_path, torrent_path, seed_cache_path, - torrent_seed_duration, torrent_listen_port_start, - torrent_listen_port_end] + seed_cmd = map(str, [seeder_path, torrent_path, seed_cache_path, + torrent_seed_duration, torrent_listen_port_start, + torrent_listen_port_end]) utils.run_command(seed_cmd) |