From 49602734a7dc5d864427e28178d1d1d8d801ce46 Mon Sep 17 00:00:00 2001 From: elie Date: Sun, 14 Aug 2011 16:11:29 +0000 Subject: drop string module usage --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 9223793..8c436e5 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ #!/usr/bin/env python import sys -import string def howto_install_setuptools(): print """Error: You need setuptools Python package! @@ -17,7 +16,7 @@ try: } except ImportError: for arg in sys.argv: - if string.find(arg, 'egg') != -1: + if arg.find('egg') != -1: howto_install_setuptools() sys.exit(1) from distutils.core import setup -- cgit v1.2.1