- if not self.alternatives.has_key(str(ServiceReference(args))):
- self.alternatives[str(ServiceReference(args))] = []
- print "alternatives:", self.alternatives
+ serviceString = str(ServiceReference(args))
+ if not self.alternatives.has_key(serviceString):
+ self.alternatives[serviceString] = []