Commits

Michał Górny committed 4a44f5c

Recognize '*' as a correct keyword.

Comments (0)

Files changed (1)

lib/flaggie/cache.py

 						f.close()
 
 				# and the ** special keyword
-				kws.add('**')
+				kws.update('*', '**')
 				self.cache[None] = frozenset(kws)
 
 			return self.cache[None]
 
 		def _aux_parse(self, arg):
 			kw = [x for x in arg.split() if not x.startswith('-')]
-			kw.append('**')
+			kw.extend(('*', '**'))
 			return kw
 
 	class LicenseCache(DBAPICache):