'Create a representation of the non-volatile state of the queue.
@rtype: L{dict} mapping L{bytes} to L{object}
@return: The non-volatile state of the queue.'

def __getstate__(self):

    return {'directory': self.directory}
