Skip to content

Commit

Permalink
Don't need DistArray._get_attribute() method anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt Smith committed Mar 21, 2014
1 parent 806db13 commit b69eada
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions distarray/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ def from_localarrays(cls, key, context):
def __del__(self):
self.context.delete_key(self.key)

def _get_attribute(self, name):
key = self.context._generate_key()
self.context._execute0('%s = %s.%s' % (key, self.key, name))
result = self.context._pull0(key)
return result

def __repr__(self):
s = '<DistArray(shape=%r, targets=%r)>' % \
(self.shape, self.context.targets)
Expand Down

0 comments on commit b69eada

Please sign in to comment.