Skip to content

Commit

Permalink
add Registry and Lockable
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Oct 23, 2013
1 parent 21a1b6a commit 7bc9ec7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions radical/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
from url import Url
from testing import TestConfig, Testing, get_test_config
from dict_mixin import DictMixin
from lockable import Lockable
from registry import Registry, READONLY, READWRITE

# import utility methods
from ids import generate_id
Expand Down
2 changes: 1 addition & 1 deletion radical/utils/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__ (self, cfg_file, cfg_name=None) :

def __setitem__(self, key, value):
self.changed_values[key] = value
super(D, self).__setitem__(key, value)
super(TestConfig, self).__setitem__(key, value)

def __getattr__(self, item):
"""Maps values to attributes.
Expand Down

0 comments on commit 7bc9ec7

Please sign in to comment.