summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorTomas Tomecek <ttomecek@redhat.com>2013-07-25 15:57:09 +0200
committerCharles Harris <charlesr.harris@gmail.com>2013-07-29 09:49:39 -0600
commit933000d2f46222ceb81fa4e39cda780cf4891438 (patch)
tree739f299e7b88e6b68c15d2c7a40c297520ab5649 /numpy
parent895866d337fedb2018a076002ebb9ea49fa397f3 (diff)
downloadnumpy-933000d2f46222ceb81fa4e39cda780cf4891438.tar.gz
MAINT: typo fix in logging message
The logging message in numpy.distutils.log.set_threshold mispelled threshold.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/log.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/log.py b/numpy/distutils/log.py
index 2f801a732..20eb59754 100644
--- a/numpy/distutils/log.py
+++ b/numpy/distutils/log.py
@@ -53,9 +53,9 @@ def set_threshold(level, force=False):
# likely a good reason why we're running at this level.
_global_log.threshold = level
if level <= DEBUG:
- info('set_threshold: setting thershold to DEBUG level, it can be changed only with force argument')
+ info('set_threshold: setting threshold to DEBUG level, it can be changed only with force argument')
else:
- info('set_threshold: not changing thershold from DEBUG level %s to %s' % (prev_level,level))
+ info('set_threshold: not changing threshold from DEBUG level %s to %s' % (prev_level,level))
return prev_level
def set_verbosity(v, force=False):