Commits

Michał Górny  committed ab34a5b

Keep default keywords as a frozenset.

  • Participants
  • Parent commits c19281a

Comments (0)

Files changed (1)

File lib/flaggie/packagefile.py

 	def __init__(self, path, dbapi):
 		PackageFileSet.__init__(self, path)
 
-		self._defkw = ['~' + x for x \
+		self._defkw = frozenset(['~' + x for x \
 				in dbapi.settings['ACCEPT_KEYWORDS'].split() \
-				if x[0] not in ('~', '-')]
+				if x[0] not in ('~', '-')])
 
 	def read(self, *args):
 		if self._files: