1. Michał Górny
  2. smart-live-rebuild


Michał Górny  committed b9826e6

Fix filtering once again.

It seems that the 're' module relies on 'str' subclasses rather than
actual API.

  • Participants
  • Parent commits dd01ab3
  • Branches master

Comments (0)

Files changed (1)

File smartliverebuild/filtering.py

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