Skip to content

Commit

Permalink
fixed depricated logger.warn as it does not work with FormatAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Feb 16, 2018
1 parent 644de7c commit 7b56d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spinn_machine/utilities/ordered_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
import logging

logger = logging.getLogger(__name__)
logger.warn("Deprecation Warning: OrderedSet has moved to SpiNNUtils.")
logger.warning("Deprecation Warning: OrderedSet has moved to SpiNNUtils.")

__all__ = ["OrderedSet"]
2 changes: 1 addition & 1 deletion spinn_machine/utilities/progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
import logging

logger = logging.getLogger(__name__)
logger.warn("Deprecation Warning: ProgressBar has moved to SpiNNUtils.")
logger.warning("Deprecation Warning: ProgressBar has moved to SpiNNUtils.")

__all__ = ["ProgressBar"]

0 comments on commit 7b56d17

Please sign in to comment.