Rev 2: Handle no-options properly. in http://people.ubuntu.com/~robertc/baz2.0/plugins/compressbench/trunk
Robert Collins
robertc at robertcollins.net
Mon Jan 19 05:46:16 GMT 2009
At http://people.ubuntu.com/~robertc/baz2.0/plugins/compressbench/trunk
------------------------------------------------------------
revno: 2
revision-id: robertc at robertcollins.net-20090119054611-hy6zmi2nbfd1uw3c
parent: robertc at robertcollins.net-20090119035457-s8whuouyfigxutm9
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Mon 2009-01-19 16:46:11 +1100
message:
Handle no-options properly.
=== modified file 'bench.py'
--- a/bench.py 2009-01-19 03:54:57 +0000
+++ b/bench.py 2009-01-19 05:46:11 +0000
@@ -100,7 +100,7 @@
]
def run(self, delta=None):
- if delta is None:
+ if not delta:
delta = ['gc', 'knit']
# extract source to full text files on disk with metadata held in memory
source_repo = Repository.open('/home/robertc/source/baz')
More information about the bazaar-commits
mailing list