diff options
author | elie <elie> | 2011-08-14 16:11:29 +0000 |
---|---|---|
committer | elie <elie> | 2011-08-14 16:11:29 +0000 |
commit | 49602734a7dc5d864427e28178d1d1d8d801ce46 (patch) | |
tree | d6feafafaefa5b5dc81ebeb125857f3cd6250a85 /setup.py | |
parent | cde81d1bac8358a22f1eb701dfc71e660c87c782 (diff) | |
download | pyasn1-git-49602734a7dc5d864427e28178d1d1d8d801ce46.tar.gz |
drop string module usage
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |