Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleherbau2011-04-29 07:39:22 +0000
committeraleherbau2011-04-29 07:39:22 +0000
commita82ceec502e0837e5cc1f0fc20dba3370dfb3a60 (patch)
tree145e2aca43bdd390da9d43efc7afbd5cd58a2078 /python/src/tcf/peer.py
parentad0516f43d5ac016b817bb623a014162a8f455a1 (diff)
downloadorg.eclipse.tcf-a82ceec502e0837e5cc1f0fc20dba3370dfb3a60.tar.gz
org.eclipse.tcf-a82ceec502e0837e5cc1f0fc20dba3370dfb3a60.tar.xz
org.eclipse.tcf-a82ceec502e0837e5cc1f0fc20dba3370dfb3a60.zip
TCF Python: Fixed use of class member instead of instance member
Diffstat (limited to 'python/src/tcf/peer.py')
-rw-r--r--python/src/tcf/peer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/src/tcf/peer.py b/python/src/tcf/peer.py
index 37e076123..994b0c69e 100644
--- a/python/src/tcf/peer.py
+++ b/python/src/tcf/peer.py
@@ -115,10 +115,8 @@ class TransientPeer(Peer):
Objects of this class are not tracked by Locator service.
See AbstractPeer for IPeer objects that should go into the Locator table.
"""
-
- rw_attrs = {}
-
def __init__(self, attrs):
+ self.rw_attrs = {}
self.rw_attrs.update(attrs)
# TODO readonly map
ro_attrs = {}

Back to the top