Commits

Michał Górny committed 060105c

gentoopm-0.2.1 now really subclasses strings.

Thus, we don't need to use str() anymore when passing keys to re.

  • Participants
  • Parent commits 3d41273

Comments (0)

Files changed (1)

File smartliverebuild/filtering.py

 
 	def __call__(self, pkg):
 		""" Execute filtering on a package. """
-		cp = str(pkg.key)
+		cp = pkg.key
 		r = self._default_pass
 		for m in self._pmatchers:
 			if m.broken: