Pychecker fixes
svn: r1276
This commit is contained in:
parent
f830960278
commit
902b1847a5
@ -297,7 +297,7 @@ class IsMale(Rule):
|
|||||||
return 'Is a male'
|
return 'Is a male'
|
||||||
|
|
||||||
def apply(self,db,p):
|
def apply(self,db,p):
|
||||||
return p.getGender() == Person.Person.male
|
return p.getGender() == RelLib.Person.male
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -41,6 +41,7 @@ import Utils
|
|||||||
import const
|
import const
|
||||||
import TextDoc
|
import TextDoc
|
||||||
import ListModel
|
import ListModel
|
||||||
|
from intl import gettext as _
|
||||||
|
|
||||||
class StyleListDisplay:
|
class StyleListDisplay:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user