diff --git a/openmc/universe.py b/openmc/universe.py index 0e405e9f18..7e93981afa 100644 --- a/openmc/universe.py +++ b/openmc/universe.py @@ -240,7 +240,7 @@ class Cell(object): """ - warnings.simplefilter('always', DeprecationWarning) + warnings.simplefilter('once', DeprecationWarning) warnings.warn("Cell.add_surface(...) has been deprecated and may be " "removed in a future version. The region for a Cell " "should be defined using the region property directly.",