renamed cleanup to close, this is more common

This commit is contained in:
Olivier R-D
2015-04-10 12:39:19 +02:00
parent 747f07287d
commit 92a7c1812e
11 changed files with 25 additions and 62 deletions

View File

@@ -13,10 +13,10 @@ if __name__ == "__main__":
else:
host = 'localhost'
try:
robot = Robot( host )#, logLevel=logging.DEBUG, parserLogLevel=logging.DEBUG)
robot = Robot(host)
r = robot
embed()
finally:
if "robot" in dir():
robot.cleanup()
robot.close()