+ elif attempts == 100:
+ print "Tried 100 times to connect and failed."
+ sys.stdout.write("Continuing to try forever.") # No newline
+ sys.stdout.flush()
+ self.verbose=True # Something isn't going right, give the user more info
+ elif attempts > 100 and attempts % 10 == 0:
+ sys.stdout.write('.')
+ sys.stdout.flush()