Exemple #1
0
 def toWebID(self, item):
     return storeIDToWebID(self.privateKey, item.storeID)
Exemple #2
0
 def toWebID(self, item):
     return storeIDToWebID(self.privateKey, item.storeID)
Exemple #3
0
 def linkTo(self, obj):
     # currently obj must be a storeID, but other types might come eventually
     return '/%s/%s' % (self.prefixURL, storeIDToWebID(
         self.privateKey, obj))
Exemple #4
0
 def linkTo(self, obj):
     # currently obj must be a storeID, but other types might come eventually
     return '/%s/%s' % (self.prefixURL, storeIDToWebID(self.privateKey, obj))