diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-02-17 18:46:34 +0100 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-02-17 18:46:34 +0100 |
commit | 09e01fa45fcca5bb2923ab97519a11bb7d784334 (patch) | |
tree | b59fb7d7afdbd01c6e39abc1753f01f776eb0d6c /src/pybind | |
parent | pybind/rados: add snapshots (diff) | |
download | ceph-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-x | src/pybind/rados.py | 2 |
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 |