comparison bindings/python/pyadb.py @ 631:6ec50185b348

Fixed up repr/str * server.py uses rawData for now * __repr__ and __str__ return correctly
author mas01mj
date Wed, 23 Sep 2009 16:44:27 +0000
parents 5f47b734c532
children 41ef9e165c38
comparison
equal deleted inserted replaced
630:5f47b734c532 631:6ec50185b348
155 if "resFmt" in currentConfig: 155 if "resFmt" in currentConfig:
156 self.type = currentConfig["resFmt"] 156 self.type = currentConfig["resFmt"]
157 else: 157 else:
158 self.type = "dict" 158 self.type = "dict"
159 def __str__(self): 159 def __str__(self):
160 str(self.rawData) 160 return str(self.rawData)
161 def __repr__(self): 161 def __repr__(self):
162 repr(self.rawData) 162 return repr(self.rawData)
163 163
164 class untitledTests(unittest.TestCase): 164 class untitledTests(unittest.TestCase):
165 def setUp(self): 165 def setUp(self):
166 pass 166 pass
167 167