Skip to content

Commit b948d79

Browse files
committed
Remove \n from examples
1 parent f532fca commit b948d79

10 files changed

+11
-11
lines changed

examples/conversation_create_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
'content': {'text': args['message']}})
2020

2121
# Print the object information.
22-
print('The following information was returned as a Conversation List object:\n')
22+
print('The following information was returned as a Conversation List object:')
2323
print(msg)
2424

2525
except messagebird.client.ErrorException as e:
26-
print('\nAn error occured while requesting a Message object:\n')
26+
print('An error occured while requesting a Message object:')
2727

2828
for error in e.errors:
2929
print(' code : %d' % error.code)

examples/conversation_create_webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
print(webhook)
2626

2727
except messagebird.client.ErrorException as e:
28-
print('\nAn error occured while requesting a Webhook object:\n')
28+
print('An error occured while requesting a Webhook object:')
2929

3030
for error in e.errors:
3131
print(' code : %d' % error.code)

examples/conversation_delete_webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
print('Webhook has been deleted')
1717

1818
except messagebird.client.ErrorException as e:
19-
print('\nAn error occured while requesting a Webhook object:\n')
19+
print('An error occured while requesting a Webhook object:')
2020

2121
for error in e.errors:
2222
print(' code : %d' % error.code)

examples/conversation_list_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(msg)
1818

1919
except messagebird.client.ErrorException as e:
20-
print('\nAn error occured while requesting a Conversation Message List object:\n')
20+
print('An error occured while requesting a Conversation Message List object:')
2121

2222
for error in e.errors:
2323
print(' code : %d' % error.code)

examples/conversation_list_webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
print(webhook_list)
1717

1818
except messagebird.client.ErrorException as e:
19-
print('\nAn error occured while requesting a Conversation Webhook List object:\n')
19+
print('An error occured while requesting a Conversation Webhook List object:')
2020

2121
for error in e.errors:
2222
print(' code : %d' % error.code)

examples/conversation_read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(conversation)
1818

1919
except messagebird.client.ErrorException as e:
20-
print('\nAn error occured while requesting a Conversation object:\n')
20+
print('An error occured while requesting a Conversation object:')
2121

2222
for error in e.errors:
2323
print(' code : %d' % error.code)

examples/conversation_read_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(msg)
1818

1919
except messagebird.client.ErrorException as e:
20-
print('\nAn error occured while requesting a Message object:\n')
20+
print('An error occured while requesting a Message object:')
2121

2222
for error in e.errors:
2323
print(' code : %d' % error.code)

examples/conversation_read_webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(webhook)
1818

1919
except messagebird.client.ErrorException as e:
20-
print('\nAn error occured while requesting a Webhook object:\n')
20+
print('An error occured while requesting a Webhook object:')
2121

2222
for error in e.errors:
2323
print(' code : %d' % error.code)

examples/conversation_start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
print(msg)
2323

2424
except messagebird.client.ErrorException as e:
25-
print('\nAn error occured while requesting a Message object:\n')
25+
print('An error occured while requesting a Message object:')
2626

2727
for error in e.errors:
2828
print(' code : %d' % error.code)

examples/conversation_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(conversation)
1818

1919
except messagebird.client.ErrorException as e:
20-
print('\nAn error occured while requesting a Conversation object:\n')
20+
print('An error occured while requesting a Conversation object:')
2121

2222
for error in e.errors:
2323
print(' code : %d' % error.code)

0 commit comments

Comments
 (0)