Rev 4813: (jam) Remove a @needs_read_lock decorator from something that doesn't in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Nov 19 15:47:36 GMT 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4813 [merge]
revision-id: pqm at pqm.ubuntu.com-20091119154726-sd7fhzjnshehq9i5
parent: pqm at pqm.ubuntu.com-20091119071935-afqk3kz52tlwssze
parent: john at arbash-meinel.com-20090605202758-ogqjycy02xgjwacv
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2009-11-19 15:47:26 +0000
message:
  (jam) Remove a @needs_read_lock decorator from something that doesn't
  	really need it.
modified:
  bzrlib/tree.py                 tree.py-20050309040759-9d5f2496be663e77
  bzrlib/workingtree.py          workingtree.py-20050511021032-29b6ec0a681e02e3
=== modified file 'bzrlib/tree.py'
--- a/bzrlib/tree.py	2009-08-28 05:00:33 +0000
+++ b/bzrlib/tree.py	2009-11-19 15:47:26 +0000
@@ -697,7 +697,6 @@
                 for path in path_names:
                     yield searcher.get_items(path)
 
-    @needs_read_lock
     def _get_rules_searcher(self, default_searcher):
         """Get the RulesSearcher for this tree given the default one."""
         searcher = default_searcher

=== modified file 'bzrlib/workingtree.py'
--- a/bzrlib/workingtree.py	2009-11-10 09:14:34 +0000
+++ b/bzrlib/workingtree.py	2009-11-19 15:47:26 +0000
@@ -2584,7 +2584,6 @@
         """
         return
 
-    @needs_read_lock
     def _get_rules_searcher(self, default_searcher):
         """See Tree._get_rules_searcher."""
         if self._rules_searcher is None:




More information about the bazaar-commits mailing list