Commit 65558dbf authored by Jim Fulton's avatar Jim Fulton

Cleaned up trailing whitespace and long lines.

parent 9ea3cc2a
...@@ -365,13 +365,15 @@ class AnalyzeDotPyTest(StorageTestBase.StorageTestBase): ...@@ -365,13 +365,15 @@ class AnalyzeDotPyTest(StorageTestBase.StorageTestBase):
# sometimes data is in this format # sometimes data is in this format
j = 0 j = 0
oid, revid = oids[j] oid, revid = oids[j]
serial = self._storage.store(oid, revid, pickle.dumps(OOBTree, 1), "", t) serial = self._storage.store(
oid, revid, pickle.dumps(OOBTree, 1), "", t)
oids[j][1] = serial oids[j][1] = serial
# and it could be from a broken module # and it could be from a broken module
j = 1 j = 1
oid, revid = oids[j] oid, revid = oids[j]
serial = self._storage.store(oid, revid, pickle.dumps(Broken, 1), "", t) serial = self._storage.store(
oid, revid, pickle.dumps(Broken, 1), "", t)
oids[j][1] = serial oids[j][1] = serial
# but mostly it looks like this # but mostly it looks like this
...@@ -401,7 +403,8 @@ class AnalyzeDotPyTest(StorageTestBase.StorageTestBase): ...@@ -401,7 +403,8 @@ class AnalyzeDotPyTest(StorageTestBase.StorageTestBase):
pct = rep.TYPESIZE[t] * 100.0 / rep.DBYTES pct = rep.TYPESIZE[t] * 100.0 / rep.DBYTES
cumpct += pct cumpct += pct
self.assertAlmostEqual(cumpct, 100.0, 0, "Failed to analyze some records") self.assertAlmostEqual(cumpct, 100.0, 0,
"Failed to analyze some records")
# Raise an exception if the tids in FileStorage fs aren't # Raise an exception if the tids in FileStorage fs aren't
# strictly increasing. # strictly increasing.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment