Mercurial > hg
comparison mercurial/strutil.py @ 22777:bbb2f8b0459e
match: remove unnecessary setting of self._always
The 'always' class calls its parent constructor with an empty list of
patterns, which will result in a matcher that always matches. The
parent constructor will set self._always to True in such cases, so
there is no need to set it again.
author | Martin von Zweigbergk <martinvonz@gmail.com> |
---|---|
date | Tue, 30 Sep 2014 15:58:08 -0700 |
parents | 25e572394f5c |
children | b723f05ec49b |
comparison
equal
deleted
inserted
replaced
22776:564ae7d2ec9b | 22777:bbb2f8b0459e |
---|