Skip to content

Commit fe1d497

Browse files
committed
remove intermediate type
1 parent d45067b commit fe1d497

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compas/plugins.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
DotNetException = System.Exception
4242
else:
4343

44-
class DummyDotNetException(BaseException):
45-
pass
44+
class DotNetException(BaseException):
45+
"""Ensures DotNetException is always a valid exception class. Even when not in IPY."""
4646

47-
DotNetException = DummyDotNetException
47+
pass
4848

4949

5050
class PluginNotInstalledError(Exception):

0 commit comments

Comments
 (0)