Skip to content

Commit

Permalink
remove sendgrid
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulito committed Jan 15, 2021
1 parent 2058074 commit ddb06c7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mbs/notification/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .handler import (EmailNotificationHandler, DEFAULT_NOTIFICATION_SUBJECT, SendgridNotificationHandler,
from .handler import (EmailNotificationHandler, DEFAULT_NOTIFICATION_SUBJECT,
Notifications, NotificationPriority, NotificationType)
from .template import NotificationTemplate
from .message import get_messages
5 changes: 3 additions & 2 deletions mbs/notification/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from email.mime.text import MIMEText

from sendgrid import Sendgrid, Message
#from sendgrid import Sendgrid, Message

from .message import get_messages
from ..utils import listify
Expand Down Expand Up @@ -224,6 +224,7 @@ def to_address(self, to_address):
###############################################################################
# SendgridNotificationHandler
###############################################################################
"""
class SendgridNotificationHandler(EmailNotificationHandler):
###########################################################################
Expand Down Expand Up @@ -282,7 +283,7 @@ def send_notification(self, subject, message, recipient=None):
logger.error("Error while sending email:\n%s" %
traceback.format_exc())

"""
###############################################################################
# SmtpNotificationHandler
###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion mbs/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__author__ = 'abdul'

__version__ = '2.0.8'
__version__ = '2.0.9'

def get_mbs_version():
return __version__
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ distutils2==1.0a4
httplib2>=0.9
psutil==1.2.1
google-api-python-client==1.2
sendgrid==0.1.3

azure-mgmt-compute==1.0.0
azure-storage==0.34.3
Expand Down

0 comments on commit ddb06c7

Please sign in to comment.