From 9486097653bf01567c6bd93cafddc8ce53d006e1 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Fri, 26 Apr 2013 15:22:29 +0800 Subject: [PATCH] Minor fix in instances listing filtering --- lib/workplace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/workplace.py b/lib/workplace.py index 49e48cc..44cb97a 100644 --- a/lib/workplace.py +++ b/lib/workplace.py @@ -236,8 +236,8 @@ class Workplace(object): if not self.isMoodle(d): continue if integration != None or stable != None: M = self.get(d) - if integration == False and M.isIntegration(): continue - if stable == False and M.isStable(): continue + if not integration and M.isIntegration(): continue + if not stable and M.isStable(): continue names.append(d) return names -- 2.11.0