Mercurial > python-cmd2
comparison cmd2.py @ 177:f2b1643b5173 0.4.4
argh, zero-arg commands were dying
author | catherine@dellzilla |
---|---|
date | Fri, 12 Dec 2008 16:10:38 -0500 |
parents | 645467c0d3f9 |
children | 321e0cc35661 |
comparison
equal
deleted
inserted
replaced
176:645467c0d3f9 | 177:f2b1643b5173 |
---|---|
456 self.pseudo_raw_input(self.continuationPrompt))) | 456 self.pseudo_raw_input(self.continuationPrompt))) |
457 except Exception, e: | 457 except Exception, e: |
458 print e | 458 print e |
459 return 0 | 459 return 0 |
460 | 460 |
461 if not statement: | 461 if not statement.parsed.command: |
462 return 0 | 462 return 0 |
463 | 463 |
464 statekeeper = None | 464 statekeeper = None |
465 stop = 0 | 465 stop = 0 |
466 | 466 |