From ff5161ebf9b8d89eb217df9d41a51a73d650ab82 Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Tue, 30 Jun 2015 05:55:43 -0400 Subject: [PATCH] Fix for py26. --- moto/kms/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/kms/models.py b/moto/kms/models.py index e4f36c9b8..8808565a5 100644 --- a/moto/kms/models.py +++ b/moto/kms/models.py @@ -17,7 +17,7 @@ class Key(object): @property def arn(self): - return "arn:aws:kms:{}:{}:key/{}".format(self.region, self.account_id, self.id) + return "arn:aws:kms:{0}:{1}:key/{2}".format(self.region, self.account_id, self.id) def to_dict(self): return {