##// END OF EJS Templates
patchbomb: continue if we can't import readline.
Bryan O'Sullivan -
r1204:b0f6053d default
parent child Browse files
Show More
@@ -52,13 +52,18 b' from mercurial import hg'
52 from mercurial import ui
52 from mercurial import ui
53 import os
53 import os
54 import popen2
54 import popen2
55 import readline
56 import smtplib
55 import smtplib
57 import socket
56 import socket
58 import sys
57 import sys
59 import tempfile
58 import tempfile
60 import time
59 import time
61
60
61 try:
62 # readline gives raw_input editing capabilities, but is not
63 # present on windows
64 import readline
65 except ImportError: pass
66
62 def diffstat(patch):
67 def diffstat(patch):
63 fd, name = tempfile.mkstemp()
68 fd, name = tempfile.mkstemp()
64 try:
69 try:
General Comments 0
You need to be logged in to leave comments. Login now