From 86042132761e96062708ab283075b9f47c06b656 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sat, 4 Apr 2015 16:55:15 +0200 Subject: [PATCH] models: Remove __dict__.copy() that did not do anything --- mopidy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/models.py b/mopidy/models.py index a0194b1c..eb6f4a58 100644 --- a/mopidy/models.py +++ b/mopidy/models.py @@ -198,7 +198,7 @@ class ImmutableObject(object): :rtype: new instance of the model being copied """ other = self.__class__() - other.__dict__.update(self.__dict__.copy()) + other.__dict__.update(self.__dict__) for key, value in values.items(): if key not in self._fields: raise TypeError(