Remove extra if-condition for kwtemplater setup in kwfilelog
This was over done in last cset, as repo is None by default kwarg,
and None may be tested for attribs.
--- 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