]> git.pld-linux.org Git - packages/winpdb.git/blame - winpdb-rpdb2.patch
- Version: 1.4.8 (fixed for Python 2.7)
[packages/winpdb.git] / winpdb-rpdb2.patch
CommitLineData
ade9907a
JK
1diff -dur winpdb-1.4.6.orig/rpdb2.py winpdb-1.4.6/rpdb2.py
2--- winpdb-1.4.6.orig/rpdb2.py 2009-04-01 20:32:35.000000000 +0200
3+++ winpdb-1.4.6/rpdb2.py 2010-02-26 13:00:48.000000000 +0100
4@@ -10593,8 +10593,9 @@
5 b = ' --base64=%s' % _b
fb24d28f 6
ade9907a
JK
7 debugger = os.path.abspath(__file__)
8- if debugger[-1:] == 'c':
9- debugger = debugger[:-1]
10+ if debugger[-1:] in ('c', 'o'):
11+ if os.path.exists(debugger[:-1]):
12+ debugger = debugger[:-1]
13
14 debugger = as_unicode(debugger, fse)
fb24d28f 15
This page took 0.065457 seconds and 4 git commands to generate.