Rev 192: Fixed accidental addition of CommandRunner to the start of every script. in http://bzr.daniel-watkins.co.uk/pqm/abstract-patch
Daniel Watkins
daniel at daniel-watkins.co.uk
Sun Jul 20 00:21:10 BST 2008
At http://bzr.daniel-watkins.co.uk/pqm/abstract-patch
------------------------------------------------------------
revno: 192
revision-id: daniel at daniel-watkins.co.uk-20080719231943-8dlsumcdq1gw4jcy
parent: daniel at daniel-watkins.co.uk-20080719230130-0pbzmgf1ba83h5ml
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: abstract-patch
timestamp: Sun 2008-07-20 00:19:43 +0100
message:
Fixed accidental addition of CommandRunner to the start of every script.
-------------- next part --------------
=== modified file 'pqm/script.py'
--- a/pqm/script.py 2008-07-19 23:01:30 +0000
+++ b/pqm/script.py 2008-07-19 23:19:43 +0000
@@ -187,9 +187,10 @@
command_match = (star_match or debug_match or nodebug_match
or patch_match)
if command_match:
- result.append(
- self.get_accumulating_command(accumulating_patch,
- accumulating_lines))
+ if accumulating_lines:
+ result.append(
+ self.get_accumulating_command(accumulating_patch,
+ accumulating_lines))
accumulating_lines = []
accumulating_patch = None
if star_match:
@@ -214,6 +215,7 @@
result.append(
self.get_accumulating_command(accumulating_patch,
accumulating_lines))
+
return result
def get_accumulating_command(self, patch, lines):
More information about the bazaar-commits
mailing list