Refactor: CTS: Minor fixes in fence_dummy.
- Get rid of an unnecessary str() call.
- Get rid of extra pound signs in comments.
- Break long lines before operators instead of after.
- Add whitespace around operators.
- Use 'with' instead of a try/except block.
- Un-indent return statements that don't need to be in an else clause.