embarassing debugging code left in
--HG-- branch : pmacs2
This commit is contained in:
parent
41b55bd0f6
commit
0017d5eac3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue