'@type key: bytes
@param key: The key to lookup
@param default: The value to return if the given key does not exist
@return: The value associated with C{key} or C{default} if not
L{DirDBM.has_key(key)}'

def get(self, key, default=None):

    if (key in self):
        return self[key]
    else:
        return default
