summaryrefslogtreecommitdiffstats
path: root/src/pybind
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind')
-rwxr-xr-xsrc/pybind/rados.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/rados.py b/src/pybind/rados.py
index 96e594bc9fa..acff2819c20 100755
--- a/src/pybind/rados.py
+++ b/src/pybind/rados.py
@@ -153,7 +153,7 @@ pool '%s'" % self.pool.pool_name)
elif (ret != -errno.ERANGE):
raise make_ex(ret, "rados_snap_get_name error")
name_len = name_len * 2
- snap = Snap(self.pool, name, snap_id)
+ snap = Snap(self.pool, name.value, snap_id)
self.cur_snap = self.cur_snap + 1
return snap