onedrive/api_v5.py
def copy(self, obj_id, folder_id, move=False):
		'''Copy specified file (object) to a folder.
			Note that folders cannot be copied, this is an API limitation.'''
		if folder_id.startswith('me/skydrive'):
			log.info( 'Special folder names (like "me/skydrive") dont'
				' seem to work with copy/move operations, resolving it to id' )
			folder_id = self.info(folder_id)['id']
		return super(OneDriveAPI, self).copy(obj_id, folder_id, move=move)
def copy(self, obj_id, folder_id, move=False):
		'''Copy specified file (object) to a folder.
			Note that folders cannot be copied, this is an API limitation.'''
		if folder_id.startswith('me/skydrive'):
			log.info( 'Special folder names (like "me/skydrive") dont'
				' seem to work with copy/move operations, resolving it to id' )
			folder_id = self.info(folder_id)['id']
		return super(OneDriveAPI, self).copy(obj_id, folder_id, move=move)
def copy ( self , obj_id , folder_id , move = False ) : if folder_id . startswith ( 'me/skydrive' ) : log . info ( 'Special folder names (like "me/skydrive") dont' ' seem to work with copy/move operations, resolving it to id' ) folder_id = self . info ( folder_id ) [ 'id' ] return super ( OneDriveAPI , self ) . copy ( obj_id , folder_id , move = move )
Copy specified file (object) to a folder.
			Note that folders cannot be copied, this is an API limitation.
Copy specified file ( object ) to a folder . Note that folders cannot be copied this is an API limitation .