@@ -608,12 +608,12 @@ def movedir(self, src, dst, overwrite=False, ignore_errors=False, chunk_size=102
608608 dst_dir_entry .xattrs .update (src_xattrs )
609609
610610 @synchronize
611- def copy (self , src , dst , overwrite = False , chunk_size = 1024 * 64 ):
611+ def copy (self , src , dst , overwrite = False , chunk_size = 1024 * 64 , ** kwargs ):
612612 src_dir_entry = self ._get_dir_entry (src )
613613 if src_dir_entry is None :
614614 raise ResourceNotFoundError (src )
615615 src_xattrs = src_dir_entry .xattrs .copy ()
616- super (MemoryFS , self ).copy (src , dst , overwrite , chunk_size )
616+ super (MemoryFS , self ).copy (src , dst , overwrite , chunk_size , ** kwargs )
617617 dst_dir_entry = self ._get_dir_entry (dst )
618618 if dst_dir_entry is not None :
619619 dst_dir_entry .xattrs .update (src_xattrs )
@@ -643,7 +643,7 @@ def getcontents(self, path, mode="rb", encoding=None, errors=None, newline=None)
643643
644644 @synchronize
645645 def setcontents (self , path , data = b'' , encoding = None , errors = None ,
646- chunk_size = 1024 * 64 , bypass_lock = False ):
646+ chunk_size = 1024 * 64 , ** kwargs ):
647647 if isinstance (data , six .binary_type ):
648648 if not self .exists (path ):
649649 self .open (path , 'wb' ).close ()
@@ -657,7 +657,7 @@ def setcontents(self, path, data=b'', encoding=None, errors=None,
657657
658658 return super (MemoryFS , self ).setcontents (
659659 path , data = data , encoding = encoding , errors = errors ,
660- chunk_size = chunk_size , bypass_lock = bypass_lock )
660+ chunk_size = chunk_size , ** kwargs )
661661
662662 # if isinstance(data, six.text_type):
663663 # return super(MemoryFS, self).setcontents(path, data, encoding=encoding, errors=errors, chunk_size=chunk_size)
0 commit comments