Commits

Jason R. Coombs committed 1e73c68

Remove special prioritization of handlers named '#'

Comments (0)

Files changed (1)

 def contains(name, channels=(), exclude=(), rate=1.0, priority=1,
 		doc=None, **kwargs):
 	def deco(func):
-		effective_priority = priority+1 if name == '#' else priority
 		Handler.register(ContainsHandler(
 			name=name.lower(),
 			func=func,
 			channels=channels,
 			exclude=exclude,
 			rate=rate,
-			priority=effective_priority,
+			priority=priority,
 			**kwargs))
 		return func
 	return deco