~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shelf.py

  • Committer: Aaron Bentley
  • Date: 2008-12-02 05:54:11 UTC
  • mto: This revision was merged to the branch mainline in revision 3893.
  • Revision ID: aaron@aaronbentley.com-20081202055411-89w3mu0uu6wrstoh
Add tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
348
348
        finally:
349
349
            shelf_file.close()
350
350
 
351
 
    def load_metadata(self, shelf_id):
 
351
    def get_metadata(self, shelf_id):
 
352
        """Return the metadata associated with a given shelf_id."""
352
353
        shelf_file = self.read_shelf(shelf_id)
353
354
        try:
354
355
            records = Unshelver.iter_records(shelf_file)