[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7142 - trunk/gnue-common/src/apps
From: |
reinhard |
Subject: |
[gnue] r7142 - trunk/gnue-common/src/apps |
Date: |
Wed, 9 Mar 2005 04:31:33 -0600 (CST) |
Author: reinhard
Date: 2005-03-09 04:31:32 -0600 (Wed, 09 Mar 2005)
New Revision: 7142
Modified:
trunk/gnue-common/src/apps/GDebug.py
Log:
Output self parameter with repr(), too, so nice __repr__ methods of the objects
come to effect.
Modified: trunk/gnue-common/src/apps/GDebug.py
===================================================================
--- trunk/gnue-common/src/apps/GDebug.py 2005-03-09 10:27:52 UTC (rev
7141)
+++ trunk/gnue-common/src/apps/GDebug.py 2005-03-09 10:31:32 UTC (rev
7142)
@@ -219,9 +219,7 @@
params = []
# First add all 'normal' arguments
- for item in args:
- value = item == 'self' and hex (id (flocals ['self'])) or flocals [item]
- params.append (repr (value))
+ params = [repr (flocals [item]) for item in args]
# Next, add all variable arguments (*arg)
if vargs:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7142 - trunk/gnue-common/src/apps,
reinhard <=