def load(self, content):
    if (not content):
        raise AgentConfigError("Can't not parse empty configuration")
    for line in content.split('\n'):
        if ((not line.startswith('#')) and ('=' in line)):
            parts = line.split()[0].split('=')
            value = parts[1].strip('" ')
            if (value != 'None'):
                self.values[parts[0]] = value
            else:
                self.values[parts[0]] = None
def load(self, content):
    if (not content):
        raise AgentConfigError("Can't not parse empty configuration")
    for line in content.split('\n'):
        if ((not line.startswith('#')) and ('=' in line)):
            parts = line.split()[0].split('=')
            value = parts[1].strip('" ')
            if (value != 'None'):
                self.values[parts[0]] = value
            else:
                self.values[parts[0]] = None