Skip to content

Commit

Permalink
Still some...
Browse files Browse the repository at this point in the history
  • Loading branch information
mohierf committed Oct 19, 2016
1 parent 28b3a56 commit 7fe84e0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions alignak/arbiterlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@

from alignak.objects import arbiterlink

# pragma: no cover, deprecated
make_deprecated_daemon_link(arbiterlink)
1 change: 1 addition & 0 deletions alignak/brokerlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@

from alignak.objects import brokerlink

# pragma: no cover, deprecated
make_deprecated_daemon_link(brokerlink)
2 changes: 2 additions & 0 deletions alignak/old_daemon_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import warnings


# pragma: no cover, deprecated
def deprecation(msg, stacklevel=4):
"""Raise deprecation warning with message and level
Expand All @@ -37,6 +38,7 @@ def deprecation(msg, stacklevel=4):
warnings.warn(msg, DeprecationWarning, stacklevel=stacklevel)


# pragma: no cover, deprecated
def make_deprecated_daemon_link(new_module):
"""Import daemon link from the new location and raise deprecation
Expand Down
1 change: 1 addition & 0 deletions alignak/reactionnerlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@

from alignak.objects import reactionnerlink

# pragma: no cover, deprecated
make_deprecated_daemon_link(reactionnerlink)
1 change: 1 addition & 0 deletions alignak/receiverlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@

from alignak.objects import receiverlink

# pragma: no cover, deprecated
make_deprecated_daemon_link(receiverlink)
1 change: 1 addition & 0 deletions alignak/satellitelink.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@

from alignak.objects import satellitelink

# pragma: no cover, deprecated
make_deprecated_daemon_link(satellitelink)
1 change: 1 addition & 0 deletions alignak/schedulerlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
from alignak.objects import schedulerlink


# pragma: no cover, deprecated
make_deprecated_daemon_link(schedulerlink)

0 comments on commit 7fe84e0

Please sign in to comment.