Skip to content

Commit 51f6236

Browse files
authored
Merge pull request #167 from openstates/purge-committees-by-default
Purge committees by default
2 parents 80e348f + 6ae9361 commit 51f6236

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 6.21.3 - Mar 3, 2025
4+
5+
* Purge Committees to database by default
6+
37
## 6.21.2 - Mar 3, 2025
48

59
* Catch Django Settings already configures exception

openstates/cli/people_repo_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ def update(
144144
if people and not committees:
145145
ctx.invoke(people_to_database, abbreviations=abbreviations, purge=purge)
146146
elif committees and not people:
147-
ctx.invoke(committee_to_database, abbreviations=abbreviations, purge=purge)
147+
ctx.invoke(committee_to_database, abbreviations=abbreviations, purge=True)
148148
else:
149149
ctx.invoke(people_to_database, abbreviations=abbreviations, purge=purge)
150-
ctx.invoke(committee_to_database, abbreviations=abbreviations, purge=purge)
150+
ctx.invoke(committee_to_database, abbreviations=abbreviations, purge=True)
151151
return 0
152152

153153

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "openstates"
3-
version = "6.21.2"
3+
version = "6.21.3"
44
description = "core infrastructure for the openstates project"
55
authors = ["James Turk <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)