mirror of https://github.com/celery/kombu.git
Copyright is now GoPivotal, Inc.
This commit is contained in:
parent
f2b7dc647d
commit
9204bed46d
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) 2012 VMware, Inc. All rights reserved.
|
||||
Copyright (c) 2012-2013 GoPivotal, Inc. All rights reserved.
|
||||
Copyright (c) 2009-2012, Ask Solem & contributors.
|
||||
All rights reserved.
|
||||
|
||||
|
|
|
@ -183,8 +183,9 @@ class SerializerRegistry(object):
|
|||
def _for_untrusted_content(self, ctype, why):
|
||||
return ContentDisallowed(
|
||||
'Refusing to decode {0} content of type {1}'.format(
|
||||
why, parenthesize_alias(self.type_to_name[ctype], ctype)),
|
||||
)
|
||||
why,
|
||||
parenthesize_alias(self.type_to_name.get(ctype, ctype), ctype),
|
||||
))
|
||||
|
||||
|
||||
#: Global registry of serializers/deserializers.
|
||||
|
|
Loading…
Reference in New Issue