summaryrefslogtreecommitdiff
path: root/icktool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-10-16 21:35:15 +0300
committerLars Wirzenius <liw@liw.fi>2017-10-16 21:35:15 +0300
commit24d2e51e13a4e707f454ca1946786427044aa346 (patch)
tree29856c3708809b7ed4e800199fb8d9ffe473b0a2 /icktool
parent102e217b682edc183c0816ee93b7c631f35cafd5 (diff)
downloadick2-24d2e51e13a4e707f454ca1946786427044aa346.tar.gz
Add: tweak debugging prints
Diffstat (limited to 'icktool')
-rwxr-xr-xicktool2
1 files changed, 1 insertions, 1 deletions
diff --git a/icktool b/icktool
index 6dfed57..3d55db0 100755
--- a/icktool
+++ b/icktool
@@ -96,6 +96,7 @@ class Icktool(cliapp.Application):
def cmd_create_project(self, args):
obj = self._read_object()
+ self._prettyson(obj)
api = self._new_api()
api.post('/projects', obj)
@@ -162,7 +163,6 @@ class API:
'Authorization': 'Bearer {}'.format(self._token),
'Content-Type': 'applicatin/json',
}
- print('full_url:', full_url)
r = requests.post(
full_url, data=obj, headers=headers, verify=self._verify)
print(r.text)