Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made make_state_public accept a state name rather than FIPS code.

  • Loading branch information...
commit c32d0d88ccebe854044066f3595d01a66d73e4a2 1 parent 40e07f4
cgroskopf authored
View
2  dataprocessing/batch_test.sh
@@ -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
View
5 dataprocessing/make_state_public.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])
Please sign in to comment.
Something went wrong with that request. Please try again.