Skip to content

Commit

Permalink
Fix shallow copy bug with CFG
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Foster committed Oct 11, 2012
1 parent a4f09f0 commit 6a9e419
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyon/util/containers.py
Expand Up @@ -11,6 +11,7 @@
import base64
import uuid
import os
from copy import deepcopy

class DotNotationGetItem(object):
""" Drive the behavior for DotList and DotDict lookups by dot notation, JSON-style. """
Expand Down Expand Up @@ -82,7 +83,7 @@ def __setattr__(self,key,value):
self[key] = value

def copy(self):
return DotDict(dict.copy(self))
return deepcopy(self)

def get_safe(self, qual_key, default=None):
"""
Expand Down

0 comments on commit 6a9e419

Please sign in to comment.