Skip to content

Commit

Permalink
Merge pull request #1104 from mattgibbs/fix_p4p_container_issue
Browse files Browse the repository at this point in the history
Fix Container class move for python 3.10
  • Loading branch information
nstelter-slac authored Aug 17, 2024
2 parents 760af07 + 8c791bc commit 5415c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydm/data_plugins/epics_plugins/p4p_plugin_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def send_new_value(self, value: Value) -> None:
if self.nttable_data_location:
msg = f"Invalid channel... {self.nttable_data_location}"
for subfield in self.nttable_data_location:
if isinstance(new_value, collections.Container) and not isinstance(new_value, str):
if isinstance(new_value, collections.abc.Container) and not isinstance(new_value, str):
if isinstance(subfield, str):
try:
new_value = new_value[subfield]
Expand Down

0 comments on commit 5415c41

Please sign in to comment.