created self.warnings outside except block
Merge pull request #831 from eteq/fix-automodsumm-warning

automodsumm: created self.warnings at start of run