Skip to content

Commit

Permalink
Update code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Jul 7, 2020
1 parent c83d8c4 commit d370fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions securedrop/create-dev-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def main(staging=False):

NUM_SOURCES = os.getenv('NUM_SOURCES', 2)
if NUM_SOURCES == "ALL":
# We want all strings, 14 sources will give all the strings based
# on current string count.
# We ingest two strings per source, so this will create the required
# number of sources to include all special strings
NUM_SOURCES = math.ceil(len(strings) / 2)
# Add test sources and submissions
num_sources = int(NUM_SOURCES)
Expand Down

0 comments on commit d370fb0

Please sign in to comment.