From 33dc41760476cc04309c68f905945a9f7778a494 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Thu, 1 Mar 2018 14:52:28 +0100
Subject: [PATCH] Fix syntax

---
 conda/clean-betas.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conda/clean-betas.py b/conda/clean-betas.py
index b50e666..f424326 100755
--- a/conda/clean-betas.py
+++ b/conda/clean-betas.py
@@ -70,7 +70,7 @@ def main(scandir, dry_run):
     for f in filenames:
       if f.startswith('repodata.json'): continue
       m = package_regex.match(f)
-      if is None:
+      if m is None:
         print('ignoring `%s\' (does not match)' % os.path.join(path, f))
         continue
 
-- 
GitLab