Rev 4278: Fix misleading signature and one typo. in http://bazaar.launchpad.net/~vila/bzr/cleanup.various/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Apr 10 12:30:21 BST 2009
At http://bazaar.launchpad.net/~vila/bzr/cleanup.various/
------------------------------------------------------------
revno: 4278
revision-id: v.ladeuil+lp at free.fr-20090410113019-wd99oq76l68ct82x
parent: pqm at pqm.ubuntu.com-20090409074647-c3craithy1i8vndv
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: various
timestamp: Fri 2009-04-10 13:30:19 +0200
message:
Fix misleading signature and one typo.
* bzrlib/repofmt/groupcompress_repo.py:
Fix typo.
* bzrlib/inventory.py:
(Inventory.has_filename): 'names' parameter renamed to
'filename' (singular) to conform with all other implementations.
-------------- next part --------------
=== modified file 'bzrlib/inventory.py'
--- a/bzrlib/inventory.py 2009-04-08 03:34:31 +0000
+++ b/bzrlib/inventory.py 2009-04-10 11:30:19 +0000
@@ -1342,8 +1342,8 @@
yield ie
file_id = ie.parent_id
- def has_filename(self, names):
- return bool(self.path2id(names))
+ def has_filename(self, filename):
+ return bool(self.path2id(filename))
def has_id(self, file_id):
return (file_id in self._byid)
=== modified file 'bzrlib/repofmt/groupcompress_repo.py'
--- a/bzrlib/repofmt/groupcompress_repo.py 2009-04-08 03:34:31 +0000
+++ b/bzrlib/repofmt/groupcompress_repo.py 2009-04-10 11:30:19 +0000
@@ -14,7 +14,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-"""Repostory formats using CHK inventories and groupcompress compression."""
+"""Repository formats using CHK inventories and groupcompress compression."""
import time
More information about the bazaar-commits
mailing list