Permalink
Browse files

Made make_state_public accept a state name rather than FIPS code.

  • Loading branch information...
1 parent 40e07f4 commit c32d0d88ccebe854044066f3595d01a66d73e4a2 cgroskopf committed Jun 10, 2011
Showing with 4 additions and 3 deletions.
  1. +1 −1 dataprocessing/batch_test.sh
  2. +3 −2 dataprocessing/make_state_public.py
@@ -26,8 +26,8 @@ ENVIRONMENT=$1
./compute_deltas_pl.py 10
./deploy_data.py $ENVIRONMENT
-./make_data_public.py $ENVIRONMENT 10
./deploy_lookups.py $ENVIRONMENT
./update_state_list.py $ENVIRONMENT Delaware CLEAR
+./make_state_public.py $ENVIRONMENT Delaware
./tests.py
@@ -5,12 +5,13 @@
from boto.s3.connection import S3Connection
import config
+import get_state_fips
if len(sys.argv) < 3:
- sys.exit('You must "staging" or "production" and a state fips code as arguments to this script.')
+ sys.exit('You must "staging" or "production" and a state name as arguments to this script.')
ENVIRONMENT = sys.argv[1]
-STATE_FIPS = sys.argv[2]
+STATE_FIPS = get_state_fips.STATE_FIPS[sys.argv[2]]
c = S3Connection()
bucket = c.get_bucket(config.S3_BUCKETS[ENVIRONMENT])

0 comments on commit c32d0d8

Please sign in to comment.