def affinity(self):
return 20
+
+class FileIdler(StringIdler):
+ def __init__(self, v, thefile=None, repeat=False):
+ text = "I broke my wookie...."
+
+ if file and os.access(thefile,os.F_OK|os.R_OK):
+ f = file(thefile,'r')
+ text = string.join(f.readlines())
+ f.close()
+ StringIdler.__init__(self, v, text,repeat=repeat)
+
+ def affinity(self):
+ return 8