fix localhost device no issue: use empty
authorliuct <liuchengtao1982@gmail.com>
Fri, 5 Sep 2014 12:36:27 +0000 (20:36 +0800)
committerliuct <liuchengtao1982@gmail.com>
Fri, 5 Sep 2014 12:36:27 +0000 (20:36 +0800)
testkitlite/commodule/localhost.py

index 7e99753490ab7386a01e63f8b85e616ea18a5941..72a4eba05afbc0a15bacbc379b5fc0f7f4408768 100644 (file)
@@ -41,7 +41,7 @@ class LocalHost:
     """
 
     def __init__(self):
-        self.deviceid = "localhost"
+        self.deviceid = ''
         self.support_remote = False
 
     def is_support_remote(self):
@@ -74,7 +74,7 @@ class LocalHost:
         """
             get deivce list of ids
         """
-        return ['localhost']
+        return []
 
     def get_device_info(self):
         """