Skip to content

Commit ddb06c7

Browse files
author
Abdul Alkhatib
committed
remove sendgrid
1 parent 2058074 commit ddb06c7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

mbs/notification/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .handler import (EmailNotificationHandler, DEFAULT_NOTIFICATION_SUBJECT, SendgridNotificationHandler,
1+
from .handler import (EmailNotificationHandler, DEFAULT_NOTIFICATION_SUBJECT,
22
Notifications, NotificationPriority, NotificationType)
33
from .template import NotificationTemplate
44
from .message import get_messages

mbs/notification/handler.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from email.mime.text import MIMEText
88

9-
from sendgrid import Sendgrid, Message
9+
#from sendgrid import Sendgrid, Message
1010

1111
from .message import get_messages
1212
from ..utils import listify
@@ -224,6 +224,7 @@ def to_address(self, to_address):
224224
###############################################################################
225225
# SendgridNotificationHandler
226226
###############################################################################
227+
"""
227228
class SendgridNotificationHandler(EmailNotificationHandler):
228229
229230
###########################################################################
@@ -282,7 +283,7 @@ def send_notification(self, subject, message, recipient=None):
282283
logger.error("Error while sending email:\n%s" %
283284
traceback.format_exc())
284285
285-
286+
"""
286287
###############################################################################
287288
# SmtpNotificationHandler
288289
###############################################################################

mbs/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__author__ = 'abdul'
22

3-
__version__ = '2.0.8'
3+
__version__ = '2.0.9'
44

55
def get_mbs_version():
66
return __version__

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ distutils2==1.0a4
1515
httplib2>=0.9
1616
psutil==1.2.1
1717
google-api-python-client==1.2
18-
sendgrid==0.1.3
1918

2019
azure-mgmt-compute==1.0.0
2120
azure-storage==0.34.3

0 commit comments

Comments
 (0)