Create explicit python2 branch as a child of python3.
[pdm.git] / pdm-repl
index cc5c289..992df4f 100755 (executable)
--- a/pdm-repl
+++ b/pdm-repl
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python
 
 import sys, getopt, readline
 import pdm.cli
@@ -24,9 +24,9 @@ buf = ""
 while True:
     try:
         if buf != "":
-            line = input("  ")
+            line = raw_input("  ")
         else:
-            line = input("% ")
+            line = raw_input("% ")
     except EOFError:
         break
     if line == "":