예제 #1
0
 def toWebID(self, item):
     return storeIDToWebID(self.privateKey, item.storeID)
예제 #2
0
 def toWebID(self, item):
     return storeIDToWebID(self.privateKey, item.storeID)
예제 #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))
예제 #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))