Commit 77cf954f authored by Chrysostomos Nanakos's avatar Chrysostomos Nanakos
Browse files

pithos: Remove 'create' flag from object context manager

parent 7b40f55b
......@@ -104,12 +104,11 @@ def file_sync_read_chunks(radosobject, chunksize, nr, offset=0):
class RadosObject(object):
__slots__ = ("name", "ioctx", "create", "offset")
__slots__ = ("name", "ioctx", "offset")
def __init__(self, name, ioctx, create=0):
def __init__(self, name, ioctx): = name
self.ioctx = ioctx
self.create = create
self.offset = 0
#self.dirty = 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment