Skip to content

Commit 0876cdd

Browse files
committed
remove RedirectOutput + _Inherit(GraphObserver) hack
1 parent 6e337dc commit 0876cdd

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/ogdf_python/loader.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,6 @@
5151
cppyy.cppdef("#define NDEBUG")
5252
cppyy.include("cassert")
5353

54-
# inheriting from GraphObserver for the first time causes some weird logging
55-
# silence that
56-
import tempfile
57-
58-
cppyy.gbl.gSystem.RedirectOutput(tempfile.mktemp(), "w")
59-
60-
61-
class _Inherit(cppyy.gbl.ogdf.GraphObserver):
62-
pass
63-
64-
65-
cppyy.gbl.gSystem.RedirectOutput(cppyy.ll.cast['char*'](0), "a")
66-
6754
# Load re-exports
6855
from cppyy import include as cppinclude, cppdef, cppexec, nullptr
6956
from cppyy.gbl import ogdf

0 commit comments

Comments
 (0)