OSDN Git Service

test: Fix missing call to parser.parse_args() in test-proximity
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 4 Feb 2013 12:29:15 +0000 (14:29 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 4 Feb 2013 12:29:15 +0000 (14:29 +0200)
test/test-proximity

index 0cbf315..6b9b2b8 100755 (executable)
@@ -38,6 +38,8 @@ if __name__ == "__main__":
                ]
        parser = OptionParser(option_list=option_list)
 
+       (options, args) = parser.parse_args()
+
        if (len(args) < 1):
                print("Usage: %s <command>" % (sys.argv[0]))
                print("")