Skip to content

Commit

Permalink
MNT: set attributes differently, remove whitespace in prerelease
Browse files Browse the repository at this point in the history
Co-authored-by: Zachary Lentz <[email protected]>
Co-authored-by: Ken Lauer <[email protected]>
  • Loading branch information
3 people authored Aug 24, 2023
1 parent 1f98587 commit 23399a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Features

Bugfixes
--------
- Issue 302: Add functionality to happi 'repair' that ensures that the name and id fields of a device are the same.
- Issue 302: Add functionality to happi 'repair' that ensures that the name and id fields of a device are the same.

Maintenance
-----------
Expand Down
2 changes: 1 addition & 1 deletion happi/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def repair(
# check name and id parity
if res['name'] != res_id:
# set name to match id
setattr(res.item, 'name', res_id)
res.item.name = res_id

# re-save after creating container
try:
Expand Down

0 comments on commit 23399a3

Please sign in to comment.