diff --git a/src/mio/installer.py b/src/mio/installer.py
index 192b3855b5f821ef43f50e8236d123449a98fa39..9c42bf5f091ad6958492128e51ce4690f01365b2 100755
--- a/src/mio/installer.py
+++ b/src/mio/installer.py
@@ -173,7 +173,7 @@ class Installer:
                 pass
             pass
         def not_excluded(name):
-            return not any(map(lambda x: not fnmatch.fnmatch(name, x), exclude))
+            return not any(map(lambda x: fnmatch.fnmatch(name, x), exclude))
         rpm = filter(not_excluded, rpm)
         rpm.sort()
         print rpm