Skip to content

Commit acd1e82

Browse files
committed
Remove email where not required
1 parent d6d8f17 commit acd1e82

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

clever/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
pass
5252
else:
5353
if major == 0 and (minor < 8 or (minor == 8 and patch < 8)):
54-
print('Warning: the Clever library requires that your Python "requests" library has a version no older than 0.8.8, but your "requests" library has version %s. Clever will fall back to an alternate HTTP library, so everything should work, though we recommend upgrading your "requests" library. If you have any questions, please contact [email protected]. (HINT: running "pip install -U requests" should upgrade your requests library to the latest version.)' % (
54+
print('Warning: the Clever library requires that your Python "requests" library has a version no older than 0.8.8, but your "requests" library has version %s. Clever will fall back to an alternate HTTP library, so everything should work, though we recommend upgrading your "requests" library. (HINT: running "pip install -U requests" should upgrade your requests library to the latest version.)' % (
5555
version, ), file=sys.stderr)
5656
_httplib = None
5757

@@ -72,7 +72,7 @@
7272

7373
if not _httplib:
7474
raise ImportError(
75-
"Clever requires one of pycurl, Google App Engine's urlfetch, or urllib2. If you are on a platform where none of these libraries are available, please let us know at [email protected].")
75+
"Clever requires one of pycurl, Google App Engine's urlfetch, or urllib2.")
7676

7777
from .version import VERSION
7878
from . import importer
@@ -234,7 +234,7 @@ def request_raw(self, meth, url, params={}):
234234
my_auth = self._auth or global_auth
235235
if my_auth is None:
236236
raise AuthenticationError(
237-
'No authentication method provided. (HINT: "clever.api_key = <API-KEY>" is deprecated. Set your API token using "clever.set_token(<OAUTH-TOKEN>)". You can generate API tokens from the Clever web interface. See https://clever.com/developers/docs for details, or email [email protected] if you have any questions.')
237+
'No authentication method provided. (HINT: "clever.api_key = <API-KEY>" is deprecated. Set your API token using "clever.set_token(<OAUTH-TOKEN>)". You can generate API tokens from the Clever web interface. See https://clever.com/developers/docs for details.')
238238
if my_auth.get('token') is None:
239239
raise AuthenticationError('Must provide api token auth. {}'.format(my_auth))
240240

@@ -393,10 +393,10 @@ def handle_pycurl_error(self, e):
393393
if e[0] in [pycurl.E_COULDNT_CONNECT,
394394
pycurl.E_COULDNT_RESOLVE_HOST,
395395
pycurl.E_OPERATION_TIMEOUTED]:
396-
msg = "Could not connect to Clever (%s). Please check your internet connection and try again. If this problem persists, you should check Clever's service status at http://status.clever.com, or let us know at [email protected]." % (
396+
msg = "Could not connect to Clever (%s). Please check your internet connection and try again. If this problem persists, you should check Clever's service status at http://status.clever.com." % (
397397
api_base, )
398398
elif e[0] == pycurl.E_SSL_CACERT or e[0] == pycurl.E_SSL_PEER_CERTIFICATE:
399-
msg = "Could not verify Clever's SSL certificate. Please make sure that your network is not intercepting certificates. (Try going to %s in your browser.) If this problem persists, let us know at [email protected]." % (
399+
msg = "Could not verify Clever's SSL certificate. Please make sure that your network is not intercepting certificates. (Try going to %s in your browser)." % (
400400
api_base, )
401401
else:
402402
msg = "Unexpected error communicating with Clever. If this problem persists, let us know at [email protected]."

clever/importer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def import_json():
1616
return simplejson
1717
except ImportError:
1818
if _json_loaded is None:
19-
raise ImportError("Clever requires a JSON library, which you do not appear to have. Please install the simplejson library. HINT: Try installing the python simplejson library via 'pip install simplejson' or 'easy_install simplejson', or contact [email protected] with questions.")
19+
raise ImportError("Clever requires a JSON library, which you do not appear to have. Please install the simplejson library. HINT: Try installing the python simplejson library via 'pip install simplejson' or 'easy_install simplejson'.")
2020
else:
21-
raise ImportError("Clever requires a JSON library with the same interface as the Python 2.6 'json' library. You appear to have a 'json' library with a different interface. Please install the simplejson library. HINT: Try installing the python simplejson library via 'pip install simplejson' or 'easy_install simplejson', or contact [email protected] with questions.")
21+
raise ImportError("Clever requires a JSON library with the same interface as the Python 2.6 'json' library. You appear to have a 'json' library with a different interface. Please install the simplejson library. HINT: Try installing the python simplejson library via 'pip install simplejson' or 'easy_install simplejson'.")

0 commit comments

Comments
 (0)