Commits

Michał Górny committed c02082b

Fix KEYWORDS parsing not to include -kw.

  • Participants
  • Parent commits c7b55fb

Comments (0)

Files changed (1)

lib/flaggie/cache.py

 
 			return self.cache[None]
 
-		def __getitem__(self, k):
-			ret = Caches.DBAPICache.__getitem__(self, k)
-			ret.add('**')
-			return ret
+		def _aux_parse(self, arg):
+			kw = [x for x in arg.split() if not x.startswith('-')]
+			kw.append('**')
+			return kw
 
 	class LicenseCache(DBAPICache):
 		aux_key = 'LICENSE'