##// END OF EJS Templates
nicer crash on %rep if not in history'
vivainio -
Show More
@@ -173,9 +173,13 b' def rep_f(self, arg):'
173 173 return
174 174
175 175
176 lines = self.extract_input_slices(args, True)
177 print "lines",lines
178 ip.runlines(lines)
176 try:
177 lines = self.extract_input_slices(args, True)
178 print "lines",lines
179 ip.runlines(lines)
180 except ValueError:
181 print "Not found in recent history:", args
182
179 183
180 184
181 185 _sentinel = object()
General Comments 0
You need to be logged in to leave comments. Login now