1.0.3dev: PEP-0008 and Trac coding style changes. Refs #2259.
 * Fixed instance attributes defined outside of `__init__`.
 * Moved statement that won't raise exception out of the `try` block.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.0-stable@13374 af82e41b-90c4-0310-8c96-b1721e28e2e2