Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix policy

  • Loading branch information...
commit 88e4f784c71266fdd65884dcd60d3e2e91931ec7 1 parent 5e5ff0b
Joe Germuska JoeGermuska authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 dataprocessing/deploy_csv.py
6 dataprocessing/deploy_csv.py
View
@@ -31,11 +31,9 @@ def get_2000_top_level_counts(geography):
return '',''
METADATA_HEADERS = ['STATE','COUNTY', 'CBSA', 'CSA', 'NECTA', 'CNECTA', 'NAME', 'POP100', 'HU100']
-def deploy_table(state_fips, sumlev, table_id, public=False):
+def deploy_table(state_fips, sumlev, table_id, policy='private'):
- if public:
- policy = 'public-read'
- else:
+ if policy not in POLICIES:
policy = 'private'
s = StringIO()
gz = gzip.GzipFile(fileobj=s, mode='wb')
Please sign in to comment.
Something went wrong with that request. Please try again.