From 1e2fcf8aad74c3ea6c5ed6184e01c7bf0052e6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Mon, 1 Jun 2015 08:28:57 +0000 Subject: [PATCH] Fix resource __repr__ function, to_dict is a function --- solar/solar/core/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solar/solar/core/resource.py b/solar/solar/core/resource.py index d23b1410..70215007 100644 --- a/solar/solar/core/resource.py +++ b/solar/solar/core/resource.py @@ -44,7 +44,7 @@ class Resource(object): def __repr__(self): return ("Resource(name='{name}', metadata={metadata}, args={args}, " - "tags={tags})").format(**self.to_dict) + "tags={tags})").format(**self.to_dict()) def to_dict(self): return {