embarassing debugging code left in

--HG--
branch : pmacs2
This commit is contained in:
moculus 2009-04-20 19:36:42 +00:00
parent 41b55bd0f6
commit 0017d5eac3
1 changed files with 4 additions and 4 deletions

View File

@ -35,8 +35,8 @@ class RenderString(object):
s = '%-*s' % (x2 - x, self.string)
else:
s = self.string
assert self.x + x != 115
cwin.addstr(self.y + y, self.x + x, s, self.attrs)
except:
v = (self.y, y, self.x, x, self.string, self.attrs)
raise Exception, "cwin.addstr(%d + %d, %d + %d, %r, %r) failed" % v
except Exception, e:
raise
#v = (self.y, y, self.x, x, self.string, self.attrs, str(e))
#raise Exception, "cwin.addstr(%d + %d, %d + %d, %r, %r) failed:\n%s" % v