Skip debugger tests for pre-2.5 python versions and make them 2.5 compatible
[cython.git] / cygdb.py
index ec6ae6e45329a14745817d4bb5215b28232cc396..0452d0b1c5c7598e86387e25c2b1eeed894164ed 100644 (file)
--- a/cygdb.py
+++ b/cygdb.py
@@ -1,10 +1,8 @@
 #!/usr/bin/env python
 
 import sys
-from Cython.Debugger import cygdb
+
+from Cython.Debugger import Cygdb as cygdb
 
 if __name__ == '__main__':
-    if len(sys.argv) > 1:
-        cygdb.main(path_to_debug_info=sys.argv[1])
-    else:
-        cygdb.main()
\ No newline at end of file
+        cygdb.main()