X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=pdm-repl;h=992df4ff87d121c22c59e60b6aa1a3cc419d4ffe;hb=refs%2Fheads%2Fpython2;hp=cc5c2890465d1c39e46902b0644be9c7cd50d9f8;hpb=98ecc02e068d7108325210c9fd9f510ec7bae66c;p=pdm.git diff --git a/pdm-repl b/pdm-repl index cc5c289..992df4f 100755 --- 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 == "":