mirror of https://gitlab.com/bashrc2/epicyon
Use debug flag
parent
3a9dffe2dc
commit
f4cd9fa138
|
@ -136,6 +136,7 @@ def _get_replies_to_post(post_json_object: {},
|
|||
replies_collection_id = post_obj['replies']
|
||||
|
||||
if replies_collection_id:
|
||||
if debug:
|
||||
print('DEBUG: get_replies_to_post replies_collection_id ' +
|
||||
str(replies_collection_id))
|
||||
|
||||
|
@ -146,6 +147,7 @@ def _get_replies_to_post(post_json_object: {},
|
|||
if not get_json_valid(replies_collection):
|
||||
return result
|
||||
|
||||
if debug:
|
||||
print('DEBUG: get_replies_to_post replies_collection ' +
|
||||
str(replies_collection))
|
||||
# get the list of replies
|
||||
|
@ -169,6 +171,7 @@ def _get_replies_to_post(post_json_object: {},
|
|||
get_json(signing_priv_key_pem, session, next_page_id,
|
||||
as_header, None, debug, __version__,
|
||||
http_prefix, domain)
|
||||
if debug:
|
||||
print('DEBUG: get_replies_to_post next replies_collection ' +
|
||||
str(replies_collection))
|
||||
if not get_json_valid(replies_collection):
|
||||
|
@ -179,6 +182,7 @@ def _get_replies_to_post(post_json_object: {},
|
|||
return result
|
||||
items_list = replies_collection['items']
|
||||
|
||||
if debug:
|
||||
print('DEBUG: get_replies_to_post items_list ' +
|
||||
str(items_list))
|
||||
|
||||
|
|
Loading…
Reference in New Issue