> except: > print "Error binding worker" > I think this should be: except: print "Error binding worker" raise But maybe I did not understand your problem.