Commit 1889d319 authored by Daniele Venzano's avatar Daniele Venzano

Fix pylint issues

parent a026cef4
......@@ -59,7 +59,7 @@ class ZAppLogoWeb(ZoeRequestHandler):
def get(self, zapp_id):
"""Home page with authentication."""
uid, role = get_auth(self)
uid, role_ = get_auth(self)
if uid is None:
return self.redirect(self.get_argument('next', u'/login'))
......@@ -79,8 +79,8 @@ def zshop_list_apps():
dirs = [d for d in os.listdir(get_conf().zapp_shop_path) if os.path.isdir(os.path.join(get_conf().zapp_shop_path, d)) and os.path.exists(os.path.join(get_conf().zapp_shop_path, d, "manifest.json"))]
zapps = []
for dir in dirs:
zapps += zshop_read_manifest(dir)
for adir in dirs:
zapps += zshop_read_manifest(adir)
zapp_cat = {}
for zapp in zapps:
......@@ -51,7 +51,7 @@ class ResourceLimits:
return ResourceLimits(res, self.unit)
raise NotImplemented
raise NotImplementedError
class ResourceReservation:
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