v0.12 release and some typo fixes
This commit is contained in:
parent
23a1a246cc
commit
87843f417f
4 changed files with 5 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
"""
|
||||
|
||||
|
||||
__version__ = "0.11.4-alpha"
|
||||
__version__ = "0.12-alpha"
|
||||
|
||||
import argparse
|
||||
import datetime
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Copyright (c) 2011-2013 "Johannes Findeisen and Rafael Timmerberg"
|
||||
Copyright (c) 2011-2013 by Johannes Findeisen and Rafael Timmerberg
|
||||
|
||||
This file is part of Linspector (http://linspector.org).
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Copyright (c) 2011-2013 "Johannes Findeisen and Rafael Timmerberg"
|
||||
Copyright (c) 2011-2013 by Johannes Findeisen and Rafael Timmerberg
|
||||
|
||||
This file is part of Linspector (http://linspector.org).
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
import datetime
|
||||
import smtplib
|
||||
import time
|
||||
|
||||
from email.mime.text import MIMEText
|
||||
from logging import getLogger
|
||||
|
|
@ -50,6 +51,7 @@ class MailTask(Task):
|
|||
#self.recipient = kwargs["args"]["rcpt"]
|
||||
|
||||
def execute(self, msg, taskArgs):
|
||||
#time.sleep(3)
|
||||
if "rcpt" not in taskArgs:
|
||||
logger.debug("Could not execute Mail Task! No recipient given!")
|
||||
raise "Could not execute Mail Task! No recipient given!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue