Merge pull request #76 from woodlee/message-fix

Minor exception message spacing fix
This commit is contained in:
Arthur Wiedmer 2015-06-24 15:51:43 -07:00
Родитель 4249f665fb bc900706f8
Коммит cc77b73efb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -96,10 +96,10 @@ class S3Hook(BaseHook):
self.role_arn += ":role/" + self.aws_iam_role
except TypeError as e:
raise AirflowException("S3 connection needs to set configuration"
"parameters in extra")
" parameters in extra")
except KeyError as e:
raise AirflowException("S3 connection definition needs to include"
"{p} in extra".format(p=e.message))
" {p} in extra".format(p=e.message))
self.connection = self.get_conn()
def __getstate__(self):