Skip to content

Cleanup and EOF checking#3

Open
codyhanson wants to merge 1 commit intowatsyurname529:masterfrom
codyhanson:master
Open

Cleanup and EOF checking#3
codyhanson wants to merge 1 commit intowatsyurname529:masterfrom
codyhanson:master

Conversation

@codyhanson
Copy link
Copy Markdown

Cleaned up some Python Issues
such as:

  • using spaces for indent instead of tabs,
  • changed the filename to a .py, instead of .sh
    Also:
  • added check for EOF in case you are piping input from STDIN
  • changed the looping boolean logic to be more clear

The refactoring from @rwjs#2 looks good too, but could be overlaid on top of this one.

such as:
- using spaces for indent instead of tabs,
- changed the filename to a .py, instead of .sh
Also:
- added check for EOF in case you are piping input from STDIN
- changed the looping boolean logic to be more clear
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.

1 participant