Permalink
Browse files

Fix stripping of initial newline from source.

  • Loading branch information...
1 parent 7af5573 commit b5f86e66be5919115201abf32d5b6077f96f2995 @inducer committed Sep 11, 2009
Showing with 2 additions and 1 deletion.
  1. +1 −0 debug_me.py
  2. +1 −1 pudb/source_view.py
View
@@ -1,3 +1,4 @@
+
def simple_func(x):
x += 1
View
@@ -159,7 +159,7 @@ def shipout_line():
shipout_line()
highlight("".join(l.replace("\t", 8*" ") for l in lines),
- PythonLexer(), UrwidFormatter())
+ PythonLexer(stripnl=False), UrwidFormatter())
return result

0 comments on commit b5f86e6

Please sign in to comment.