Skip to content

Cleanup, added logger statements where needed and overhauled the options menu#10

Merged
tcstool merged 2 commits intocodingo:Devfrom
fnordbg:Dev
Dec 17, 2013
Merged

Cleanup, added logger statements where needed and overhauled the options menu#10
tcstool merged 2 commits intocodingo:Devfrom
fnordbg:Dev

Conversation

@fnordbg
Copy link

@fnordbg fnordbg commented Dec 16, 2013

I've cleaned up the syntax and spacing again for consistency, merged some newlines.

Added Logger.error() in a few places where a custom exception was raised with no feedback.

Most significantly I refactored the menu in options.py. Instead of a huge if-elif block, it's now a cleaner Python dictionary that takes callables as values. Only "back to main menu" is now an if statement, since the return statement needs to be in that scope to work properly.

tcstool added a commit that referenced this pull request Dec 17, 2013
Cleanup, added logger statements where needed and overhauled the options menu
@tcstool tcstool merged commit 805d564 into codingo:Dev Dec 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants