mercurial/tags.py
changeset 14168 135e244776f0
parent 14038 0e6f622f31ca
child 14662 2b30124c7d8a
--- a/mercurial/tags.py	Mon May 02 10:11:05 2011 +0200
+++ b/mercurial/tags.py	Mon May 02 10:11:18 2011 +0200
@@ -60,7 +60,7 @@
 def readlocaltags(ui, repo, alltags, tagtypes):
     '''Read local tags in repo.  Update alltags and tagtypes.'''
     try:
-        data = repo.opener("localtags").read()
+        data = repo.opener.read("localtags")
     except IOError, inst:
         if inst.errno != errno.ENOENT:
             raise