Fix nightly warnings code so that does not hit an AttributeError
Fix nightly warnings code so that does not hit an AttributeError

pculture/mirocommunity,pculture/mirocommunity,pculture/mirocommunity,pculture/mirocommunity