Updates to FOSDEM 2012 talk.
[libguestfs-talks.git] / 2012-fosdem / 500.d / audit.py
index 8cdaec5..4be22f7 100755 (executable)
@@ -38,7 +38,8 @@ for root in roots:
 
     apps = g.inspect_list_applications (root)
     for app in apps:
-        if re.search ('firefox', app['app_name'], re.IGNORECASE):
-            print ("%s: Firefox version %s" % (disk, app['app_version']))
+        if re.search ('firefox', app['app_name'], re.I):
+            print ("%s: Firefox version %s" %
+                   (disk, app['app_version']))
 
     g.umount_all ()