Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/record.py
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-06-29 21:48:36 (GMT)
committer Daniel Drake <dsd@laptop.org>2010-06-29 21:48:36 (GMT)
commitd86e40b6f69820e0302d272c0fe110c6987246dc (patch)
tree4a9d1d1ce8812be055baa26ff18d4f1f70baf643 /record.py
parenteb2dca526498533a8cbfd84a754e62f75b4b5980 (diff)
Fix use of sugar.util.sha_data
Use the 0.84+ function name.
Diffstat (limited to 'record.py')
-rw-r--r--record.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/record.py b/record.py
index ccd4295..8b69e41 100644
--- a/record.py
+++ b/record.py
@@ -357,7 +357,7 @@ class Record(activity.Activity):
buds = self._shared_activity.get_joined_buddies()
for i in range (0, len(buds)):
nextBudObj = buds[i]
- nextBud = util._sha_data(nextBudObj.props.key)
+ nextBud = util.sha_data(nextBudObj.props.key)
nextBud = util.printable_hash(nextBud)
if (recd.triedMeshBuddies.count(nextBud) > 0):
self.__class__.log.debug('mnrrb: weve already tried bud ' + str(nextBudObj.props.nick))
@@ -368,7 +368,7 @@ class Record(activity.Activity):
if (goodBudObj != None):
goodNick = goodBudObj.props.nick
- goodBud = util._sha_data(goodBudObj.props.key)
+ goodBud = util.sha_data(goodBudObj.props.key)
goodBud = util.printable_hash(goodBud)
self.meshReqRecFromBuddy(recd, goodBud, goodNick)
else: