Fixed set syntax to be compatible with python2.6

Change-Id: I69c888839c8d6396c4b48cb8f1a78636569138e2