self.config = ConfigParser.RawConfigParser()
self.config.add_section('remote')
self.config.set('remote', 'api_url', api_url)
self.config = ConfigParser.RawConfigParser()
self.config.add_section('remote')
self.config.set('remote', 'api_url', api_url)
with open(self.config_loc, 'wb') as config_file:
self.config.write(config_file)
# create cache/
with open(self.config_loc, 'wb') as config_file:
self.config.write(config_file)
# create cache/