File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,14 @@ def check_sanity(self, soft=True):
166166 return False
167167
168168 # Assert only note about Bram or Mike being maintainer is in messages
169- bramline = u'Messages maintainer: Bram Moolenaar <Bram@vim.org>'
170- mikeline = u'Messages maintainer: Mike Williams <mrw@eandem.co.uk>'
169+ acceptable_default_messages = {
170+ 'Messages maintainer: Bram Moolenaar <Bram@vim.org>' ,
171+ 'Messages maintainer: Mike Williams <mrw@eandem.co.uk>' ,
172+ 'Messages maintainer: The Vim Project'
173+ }
171174 if not soft :
172- assert self .client .command ('messages' ) in ( bramline , mikeline )
173- elif self .client .command ('messages' ) not in ( bramline , mikeline ) :
175+ assert self .client .command ('messages' ) in acceptable_default_messages
176+ elif self .client .command ('messages' ) not in acceptable_default_messages :
174177 return False
175178
176179 # Assert that TW and cache objects exist
You can’t perform that action at this time.
0 commit comments