Rev 2509: Fix docstring markup, remove obsolete comment. in http://bazaar.launchpad.net/~bzr/bzr/container-format
Andrew Bennetts
andrew.bennetts at canonical.com
Tue Jun 12 02:57:55 BST 2007
At http://bazaar.launchpad.net/~bzr/bzr/container-format
------------------------------------------------------------
revno: 2509
revision-id: andrew.bennetts at canonical.com-20070612015639-z378i21fmcnd5j4x
parent: andrew.bennetts at canonical.com-20070609034820-t7u540w5pyhvtgn3
parent: andrew.bennetts at canonical.com-20070611072208-9p73cf5vcu7zh0ys
committer: Andrew Bennetts <andrew.bennetts at canonical.com>
branch nick: container-format
timestamp: Tue 2007-06-12 11:56:39 +1000
message:
Fix docstring markup, remove obsolete comment.
modified:
bzrlib/pack.py container.py-20070607160755-tr8zc26q18rn0jnb-1
bzrlib/tests/test_pack.py test_container.py-20070607160755-tr8zc26q18rn0jnb-2
------------------------------------------------------------
revno: 2508.1.1
revision-id: andrew.bennetts at canonical.com-20070611072208-9p73cf5vcu7zh0ys
parent: andrew.bennetts at canonical.com-20070609034820-t7u540w5pyhvtgn3
committer: Andrew Bennetts <andrew.bennetts at canonical.com>
branch nick: container-format
timestamp: Mon 2007-06-11 17:22:08 +1000
message:
Fix docstring markup, remove obsolete comment.
=== modified file 'bzrlib/pack.py'
--- a/bzrlib/pack.py 2007-06-09 03:45:25 +0000
+++ b/bzrlib/pack.py 2007-06-11 07:22:08 +0000
@@ -99,7 +99,7 @@
"""Iterate over the container, yielding each record as it is read.
Each yielded record will be a 2-tuple of (names, bytes), where names is
- a ``list`` and bytes is a ``str`.
+ a ``list`` and bytes is a ``str``.
:raises UnknownContainerFormatError: if the format of the container is
unrecognised.
=== modified file 'bzrlib/tests/test_pack.py'
--- a/bzrlib/tests/test_pack.py 2007-06-09 03:45:25 +0000
+++ b/bzrlib/tests/test_pack.py 2007-06-11 07:22:08 +0000
@@ -211,10 +211,3 @@
self.assertRaises(errors.UnexpectedEndOfContainerError, reader.read)
- # Other Bytes record parsing cases to test:
- # - incomplete bytes (i.e. stream ends before $length bytes read)
- # - _read_line encountering end of stream (at any time; during length,
- # names, end of headers...)
-
-
-
More information about the bazaar-commits
mailing list