Copyright is now GoPivotal, Inc.

This commit is contained in:
Ask Solem 2013-06-11 12:28:57 +01:00
parent f2b7dc647d
commit 9204bed46d
2 changed files with 4 additions and 3 deletions

View File

@ -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.

View File

@ -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.