Rev 191: Minor cleanup. in http://bzr.daniel-watkins.co.uk/pqm/abstract-patch
Daniel Watkins
daniel at daniel-watkins.co.uk
Sun Jul 20 00:02:57 BST 2008
At http://bzr.daniel-watkins.co.uk/pqm/abstract-patch
------------------------------------------------------------
revno: 191
revision-id: daniel at daniel-watkins.co.uk-20080719230130-0pbzmgf1ba83h5ml
parent: daniel at daniel-watkins.co.uk-20080719225717-4v1k78wz4y56ug7t
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: abstract-patch
timestamp: Sun 2008-07-20 00:01:30 +0100
message:
Minor cleanup.
-------------- next part --------------
=== modified file 'pqm/script.py'
--- a/pqm/script.py 2008-07-18 17:44:53 +0000
+++ b/pqm/script.py 2008-07-19 23:01:30 +0000
@@ -218,19 +218,11 @@
def get_accumulating_command(self, patch, lines):
if patch is not None:
- command = PatchCommand(self,
- self._branch_spec_handler,
- self._configp,
- lines,
- patch
- )
+ return PatchCommand(self, self._branch_spec_handler, self._configp,
+ lines, patch)
else:
- command = CommandRunner(self,
- self._branch_spec_handler,
- self._configp,
- lines,
- )
- return command
+ return CommandRunner(self, self._branch_spec_handler, self._configp,
+ lines)
def getSubmissionTime(self):
"""Return the time the script was submitted."""
More information about the bazaar-commits
mailing list