Skip to content

Commit

Permalink
import all states
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesturk committed Jul 17, 2017
1 parent cd1ac43 commit 201cae1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pupa-scrape.sh
Expand Up @@ -11,12 +11,7 @@ shift

export PYTHONPATH=./openstates

$PUPA_ENV/bin/pupa ${PUPA_ARGS:-} update $state --scrape "$@"

# only import states in IMPORT_STATES env
if [[ $IMPORT_STATES == *$state* ]]; then
$PUPA_ENV/bin/pupa update $state --import
fi
$PUPA_ENV/bin/pupa ${PUPA_ARGS:-} update $state "$@"

export PUPA_DATA_DIR='../openstates/_data'
export PYTHONPATH=./billy_metadata/
Expand Down

0 comments on commit 201cae1

Please sign in to comment.