summaryrefslogtreecommitdiffstats
path: root/src/pybind
diff options
context:
space:
mode:
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-02-17 18:46:34 +0100
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-02-17 18:46:34 +0100
commit09e01fa45fcca5bb2923ab97519a11bb7d784334 (patch)
treeb59fb7d7afdbd01c6e39abc1753f01f776eb0d6c /src/pybind
parentpybind/rados: add snapshots (diff)
downloadceph-09e01fa45fcca5bb2923ab97519a11bb7d784334.tar.xz
ceph-09e01fa45fcca5bb2923ab97519a11bb7d784334.zip
pybind/rados: Snap.name should be a py string
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
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