summaryrefslogtreecommitdiff
path: root/testrepository/commands/load.py
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2013-03-15 10:10:32 +1300
committerRobert Collins <robertc@robertcollins.net>2013-03-15 10:10:32 +1300
commitf4cfe7fdf4e764113f9d7a18df110d9da68c4396 (patch)
tree4ba8131579369bb8be42ab99d51d8ef4eebf7ca1 /testrepository/commands/load.py
parent2d8af476aa87961e3ea1fc92b59b4c953cacb987 (diff)
downloadtestrepository-f4cfe7fdf4e764113f9d7a18df110d9da68c4396.tar.gz
Cleanup the switch to using inserter state.
Diffstat (limited to 'testrepository/commands/load.py')
-rw-r--r--testrepository/commands/load.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrepository/commands/load.py b/testrepository/commands/load.py
index 48231aa..92f0b14 100644
--- a/testrepository/commands/load.py
+++ b/testrepository/commands/load.py
@@ -116,7 +116,7 @@ class load(Command):
except KeyError:
previous_run = None
output_result = self.ui.make_result(
- lambda: inserter._run_id, testcommand, previous_run=previous_run)
+ inserter.get_id, testcommand, previous_run=previous_run)
result = testtools.CopyStreamResult([
testtools.StreamToExtendedDecorator(inserter), output_result])
result.startTestRun()