Commit 49919699 authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

pyflakes reported fixes

parent 98615068
......@@ -797,7 +797,7 @@ class store_delete(_store_container_command):
"""Delete a file"""
def main(self, path):
super(store_delete, self).main()
......@@ -113,8 +113,8 @@ class ImageClient(Client):
def add_member(self, image_id, member):
path = '/images/%s/members/%s' % (image_id, member)
r = self.put(path, success=204)
self.put(path, success=204)
def remove_member(self, image_id, member):
path = '/images/%s/members/%s' % (image_id, member)
self.delete(path, success=204)
......@@ -92,7 +92,7 @@ class Config(RawConfigParser):
return RawConfigParser.get(self, section, option)
except (NoSectionError, NoOptionError) as e:
except (NoSectionError, NoOptionError):
return DEFAULTS.get(section, {}).get(option)
def set(self, section, option, value):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment