fix for compat matching with one side set and one side not
git-svn-id: file:///home/svn/incoming/trunk@3343 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b2d307beb2
commit
60abf5cff5
|
@ -231,12 +231,8 @@ class Module
|
|||
# the ConnectionType for a stager (ws2ord, for instance).
|
||||
mval = mod.module_info[k]
|
||||
|
||||
|
||||
# Match an empty compat item only if the module does not define it
|
||||
next if not (v and mval)
|
||||
|
||||
# Reject a filled compat item on one side, but not the other
|
||||
return false if not (v and mval)
|
||||
return false if (v and not mval)
|
||||
|
||||
# Track how many of our values matched the module
|
||||
mcnt = 0
|
||||
|
|
Loading…
Reference in New Issue