+from __future__ import print_function
+
from unfold.plugin import Plugin
class Composite (Plugin):
def check_active_domid(self):
matches= [ son for son in self.sons if son.domid==self.active_domid ]
if len(matches)!=1:
- print "WARNING: %s has %d valid son(s) for being active - expecting 1, resetting"%\
- (self,len(matches))
+ print("WARNING: %s has %d valid son(s) for being active - expecting 1, resetting"%\
+ (self,len(matches)))
self.active_domid=None
def insert (self, plugin):