From c5360bbede525deffd7928003e702c0c6908b2e4 Mon Sep 17 00:00:00 2001 From: Albert Chu Date: Fri, 18 Jan 2019 11:21:39 -0800 Subject: [PATCH] bindings/python: Add target to put_symlink() Call did not support a symlink target. Fixes #1933 --- src/bindings/python/flux/kvs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindings/python/flux/kvs.py b/src/bindings/python/flux/kvs.py index 4febed8d5246..dcc016cac1fc 100644 --- a/src/bindings/python/flux/kvs.py +++ b/src/bindings/python/flux/kvs.py @@ -96,10 +96,10 @@ def put_unlink(flux_handle, key): return RAW.flux_kvs_txn_unlink(flux_handle.aux_txn, 0, key) -def put_symlink(flux_handle, key): +def put_symlink(flux_handle, key, target): if flux_handle.aux_txn is None: flux_handle.aux_txn = RAW.flux_kvs_txn_create() - return RAW.flux_kvs_txn_symlink(flux_handle.aux_txn, 0, key) + return RAW.flux_kvs_txn_symlink(flux_handle.aux_txn, 0, key, target) def commit(flux_handle, flags=0):