comparison cmd2.py @ 368:0816cdb5a7db

fix quit() in py
author cat@eee
date Thu, 18 Feb 2010 15:35:36 -0500
parents 4530fc11d743
children bc4b956d57b6
comparison
equal deleted inserted replaced
367:d34f3e8d895f 368:0816cdb5a7db
345 result = '< %s' % fname[0] # wasn't a file after all 345 result = '< %s' % fname[0] # wasn't a file after all
346 else: 346 else:
347 result = get_paste_buffer() 347 result = get_paste_buffer()
348 return result 348 return result
349 349
350 class EmbeddedConsoleExit(Exception): 350 class EmbeddedConsoleExit(SystemExit):
351 pass 351 pass
352 352
353 class EmptyStatement(Exception): 353 class EmptyStatement(Exception):
354 pass 354 pass
355 355