Rev 2624: Tweak docstrings after over-aggressive search n replace. in http://people.ubuntu.com/~robertc/baz2.0/file-collection
Robert Collins
robertc at robertcollins.net
Fri Jul 20 01:57:54 BST 2007
At http://people.ubuntu.com/~robertc/baz2.0/file-collection
------------------------------------------------------------
revno: 2624
revision-id: robertc at robertcollins.net-20070720005743-1s083l5cvp9823nj
parent: robertc at robertcollins.net-20070719064046-3mbyfeb6ioaw4htk
committer: Robert Collins <robertc at robertcollins.net>
branch nick: file-collection
timestamp: Fri 2007-07-20 10:57:43 +1000
message:
Tweak docstrings after over-aggressive search n replace.
modified:
bzrlib/file_names.py file_collection.py-20070714100753-j2zz4ahtk331k5zm-1
=== modified file 'bzrlib/file_names.py'
--- a/bzrlib/file_names.py 2007-07-19 06:40:46 +0000
+++ b/bzrlib/file_names.py 2007-07-20 00:57:43 +0000
@@ -44,7 +44,7 @@
"""
def __init__(self, transport, index_name):
- """Create a names on transport called index_name."""
+ """Create a collection on transport called index_name."""
self._transport = transport
self._index_name = index_name
self._names = None
@@ -58,7 +58,7 @@
raise errors.BzrError('too many files')
def initialise(self):
- """Initialise the names record on disk."""
+ """Initialise the collection."""
self._names = set()
def load(self):
@@ -68,11 +68,11 @@
self._names.discard('')
def names(self):
- """What are the names in this names?"""
+ """What are the names in this collection?"""
return frozenset(self._names)
def remove(self, name):
- """Remove name from the names."""
+ """Remove name from the collection."""
self._names.remove(name)
def save(self):
More information about the bazaar-commits
mailing list