Skip to content

Commit 6adb732

Browse files
committed
Removing prints.
1 parent 25b6b3f commit 6adb732

File tree

5 files changed

+1
-8
lines changed

5 files changed

+1
-8
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
sudo: false
12
language: python
23
python:
34
- 2.7

intercom/api_operations/load.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ class Load(object):
99
def load(self, resource):
1010
collection = utils.resource_class_to_collection_name(
1111
self.collection_class)
12-
print "RESOURCE", resource, hasattr(resource, 'id')
1312
if hasattr(resource, 'id'):
1413
response = self.client.get("/%s/%s" % (collection, resource.id), {}) # noqa
15-
print "RESPONSE", response
1614
else:
1715
raise Exception(
1816
"Cannot load %s as it does not have a valid id." % (

intercom/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,11 @@ def get(self, path, params):
7474
return self._execute_request(req, params)
7575

7676
def post(self, path, params):
77-
print "CLIENT POST :("
7877
from intercom import request
7978
req = request.Request('POST', path)
8079
return self._execute_request(req, params)
8180

8281
def delete(self, path, params):
83-
print "CLIENT DELETE :("
8482
from intercom import request
8583
req = request.Request('DELETE', path)
8684
return self._execute_request(req, params)

intercom/collection_proxy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def __next__(self):
4747
self.get_next_page()
4848
resource = six.next(self.resources)
4949

50-
print "COLL CLASS", self.collection_cls
5150
instance = self.collection_cls(**resource)
5251
return instance
5352

@@ -72,7 +71,6 @@ def get_page(self, url, params={}):
7271
if url is None:
7372
raise StopIteration
7473

75-
print ">>>>>>", url, params
7674
response = self.client.get(url, params)
7775
if response is None:
7876
raise HttpError('Http Error - No response entity returned')

intercom/request.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class Request(object):
1616
timeout = 10
1717

1818
def __init__(self, http_method, path):
19-
print "INIT>>>>", path
2019
self.http_method = http_method
2120
self.path = path
2221

@@ -30,7 +29,6 @@ def send_request_to_path(self, base_url, auth, params=None):
3029
req_params = {}
3130

3231
# full URL
33-
print "BASE URL ->", base_url, " PATH ->", self.path
3432
url = base_url + self.path
3533

3634
headers = {

0 commit comments

Comments
 (0)