diff 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
line wrap: on
line diff
--- a/bindings/python/pyadb.py	Wed Sep 23 16:19:42 2009 +0000
+++ b/bindings/python/pyadb.py	Wed Sep 23 16:44:27 2009 +0000
@@ -157,9 +157,9 @@
 			else:
 				self.type = "dict"
 		def __str__(self):
-			str(self.rawData)
+			return str(self.rawData)
 		def __repr__(self):
-			repr(self.rawData)
+			return repr(self.rawData)
 
 class untitledTests(unittest.TestCase):
 	def setUp(self):