~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/__init__.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
 
95
95
    def listable(self):
96
96
        """Return True if this store is able to be listed."""
97
 
        return hasattr(self, "__iter__")
 
97
        return (getattr(self, "__iter__", None) is not None)
98
98
 
99
99
    def copy_all_ids(self, store_from, pb=None):
100
100
        """Copy all the file ids from store_from into self."""