summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth M Morton <seth.m.morton@gmail.com>2016-05-04 21:03:19 -0700
committerSeth M Morton <seth.m.morton@gmail.com>2016-05-04 21:06:02 -0700
commitcc340d4223ee2931e7a7408cbbb65f5320b1e0aa (patch)
tree7274afc711e1dadcded96d72f48a8cac60ad7837
parent6af1eccd5f3df609681e399d0c0c0950ae2527a3 (diff)
downloadnatsort-cc340d4223ee2931e7a7408cbbb65f5320b1e0aa.tar.gz
Hopefully made Travis-CI startup shorter.
Also removed a stray print.
-rw-r--r--.travis.yml3
-rw-r--r--natsort/utils.py1
2 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index adfd66a..f1b7af9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,8 +15,7 @@ matrix:
- python: pypy
env: WITH_OPTIONS=true
before_install:
-- sudo apt-get update
-- sudo locale-gen de_DE.UTF-8
+- if [[ $WITH_OPTIONS == true ]]; then sudo locale-gen de_DE.UTF-8; fi
- sudo apt-get install bc
install:
- pip install -U pip
diff --git a/natsort/utils.py b/natsort/utils.py
index 6011424..9def7f3 100644
--- a/natsort/utils.py
+++ b/natsort/utils.py
@@ -115,7 +115,6 @@ def _natsort_key(val, key, string_func, bytes_func, num_func):
) for x in val)
# If that failed, it must be a number.
except TypeError:
- print('num', num_func(val))
return num_func(val)