Mercurial > python-cmd2
diff cmd2.py @ 70:48b0bf2e3d2e
fixed run from paste buffer
author | catherine@Elli.myhome.westell.com |
---|---|
date | Mon, 23 Jun 2008 22:17:28 -0400 |
parents | 824651b4d1b1 |
children | ea1697be3d00 |
line wrap: on
line diff
--- a/cmd2.py Mon Jun 23 22:01:57 2008 -0400 +++ b/cmd2.py Mon Jun 23 22:17:28 2008 -0400 @@ -266,7 +266,7 @@ if source: statement = '%s %s' % (statement, self.fileimport(statement=statement, source=source)) else: - statement = getPasteBuffer() + statement = '%s %s' % (statement, getPasteBuffer()) pipeTo = self.pipe_destination_finder(statement) if pipeTo: