Skip to content

Commit

Permalink
use an alias for exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Sep 10, 2022
1 parent f46a701 commit 4f907e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/changes/newsfragments/4538.breaking
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ subclassing the mentioned classes.

* ``DG1062Burst`` has changed name to ``RigolDG1062Burst``
* ``DG1062Channel`` has changed name to ``RigolDG1062Channel``

The exception thrown by the Rigol DS4000 has changed name from ``TraceNotReady``
to ``RigolDS4000TraceNotReady``. If you explicitly catch that exception you will
need to update your code.
2 changes: 2 additions & 0 deletions qcodes/instrument_drivers/rigol/DS4000.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
ScopeArray,
)

TraceNotReady = RigolDS4000TraceNotReady


class DS4000(RigolDS4000):
pass

0 comments on commit 4f907e0

Please sign in to comment.