os.path.join() debug files correctly
authorMark Florisson <markflorisson88@gmail.com>
Wed, 10 Nov 2010 19:53:12 +0000 (20:53 +0100)
committerMark Florisson <markflorisson88@gmail.com>
Wed, 10 Nov 2010 19:53:12 +0000 (20:53 +0100)
Cython/Debugger/Cygdb.py

index 9baa82c47f756b437791e6a985f4f0002521612d..6288fe64190be6b742ffe3ae13c1cfa68d2222bf 100644 (file)
@@ -23,7 +23,8 @@ def usage():
 def make_command_file(path_to_debug_info, prefix_code='', no_import=False):
     if not no_import:
         pattern = os.path.join(path_to_debug_info, 
-                               'cython_debug/cython_debug_info_*')
+                               'cython_debug',
+                               'cython_debug_info_*')
         debug_files = glob.glob(pattern)
 
         if not debug_files: