branch | kwmap-templates |
changeset 141 | edf9299112d1 |
parent 140 | cade80b9d83d |
child 142 | aedce5bcc9eb |
--- a/hgkw/keyword.py Mon Feb 12 00:40:49 2007 +0100 +++ b/hgkw/keyword.py Tue Feb 13 18:03:12 2007 +0100 @@ -220,7 +220,7 @@ self._repo = repo self._path = path # only init kwtemplater if needed - if repo and hasattr(repo, 'kwfmatcher') and repo.kwfmatcher(path): + if hasattr(repo, 'kwfmatcher') and repo.kwfmatcher(path): self.kwt = kwtemplater(repo.ui, repo) else: self.kwt = None