Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/instance.py
diff options
context:
space:
mode:
Diffstat (limited to 'instance.py')
-rw-r--r--instance.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/instance.py b/instance.py
index d0178df..085c2da 100644
--- a/instance.py
+++ b/instance.py
@@ -10,11 +10,7 @@ import record
class Instance:
key = profile.get_pubkey()
- if hasattr(util, '_sha_data'):
- # sugar-0.82 and previous
- keyHash = util._sha_data(key)
- else:
- keyHash = util.sha_data(key)
+ keyHash = util.sha_data(key)
keyHashPrintable = util.printable_hash(keyHash)
nickName = profile.get_nick_name()