From f49a8ab6fe0af0d37bd3623abfb1987f1591f669 Mon Sep 17 00:00:00 2001
From: Moritz <email@moritz-huebner.de>
Date: Mon, 29 Apr 2019 21:46:20 +1000
Subject: [PATCH] deepcopying PriorDicts does not work in python 2

---
 bilby/core/result.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/bilby/core/result.py b/bilby/core/result.py
index e2281b0a6..349f4f801 100644
--- a/bilby/core/result.py
+++ b/bilby/core/result.py
@@ -2,7 +2,7 @@ from __future__ import division
 
 import os
 from collections import OrderedDict, namedtuple
-from copy import deepcopy
+from copy import copy
 from distutils.version import LooseVersion
 from itertools import product
 
@@ -1230,13 +1230,12 @@ class ResultList(list):
         Return the combined results in a :class:bilby.core.result.Result`
         object.
         """
-
         if len(self) == 0:
             return Result()
         elif len(self) == 1:
-            return deepcopy(self[0])
+            return copy(self[0])
         else:
-            result = deepcopy(self[0])
+            result = copy(self[0])
 
         if result.label is not None:
             result.label += 'combined'
-- 
GitLab