Revision f847a0cc kamaki/clients/pithos.py
b/kamaki/clients/pithos.py | ||
---|---|---|
891 | 891 |
info = self.get_object_info(obj) |
892 | 892 |
pref, sep, rest = self.base_url.partition('//') |
893 | 893 |
base = rest.split('/')[0] |
894 |
newurl = path4url( |
|
895 |
'%s%s%s' % (pref, sep, base), |
|
896 |
info['x-object-public']) |
|
897 |
return newurl[1:] |
|
894 |
return '%s%s%s/%s' % (pref, sep, base, info['x-object-public']) |
|
898 | 895 |
|
899 | 896 |
def unpublish_object(self, obj): |
900 | 897 |
""" |
Also available in: Unified diff