forked from veekun/pokedex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pokedex dump -l argument error (veekun#295)
pokedex/main.py - create_parser() - Change the help message for the langs argument in the dump subparser to show the actual default and state that the 'all' and 'none' codes cannot be used alongside other codes. command_dump() - Check if 'all' or 'none' codes are passed alongside other codes. If they are, error message is printed and program ends. pokedex/db/load.py - dump() - Add check if langs code is 'all' or 'none'. If langs wasn't passed to the parser or 'all' was passed (they are the same since the default is 'all'), then everything will get dumped to the csv files. If 'none' was passed to the parser, then nothing new should be dumped to the csv files. pokexed/.travis.yml - Re-added 'pokedex dump -l all' that was previously remove on 77e3d9d Resolves: veekun#295
- Loading branch information
1 parent
e5c18c4
commit 17f3624
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters