"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "openstack_dashboard/api/swift.py" between
horizon-18.6.2.tar.gz and horizon-18.6.3.tar.gz

About: OpenStack Horizon (Optional Service: Dashboard) provides a web-based self-service portal to interact with underlying OpenStack services, such as launching an instance, assigning IP addresses and configuring access controls.
The "Victoria" series (maintained release).

swift.py  (horizon-18.6.2):swift.py  (horizon-18.6.3)
skipping to change at line 168 skipping to change at line 168
prefix=prefix, prefix=prefix,
full_listing=True) full_listing=True)
container_objs = [Container(c) for c in containers] container_objs = [Container(c) for c in containers]
if(len(container_objs) > limit): if(len(container_objs) > limit):
return (container_objs[0:-1], True) return (container_objs[0:-1], True)
else: else:
return (container_objs, False) return (container_objs, False)
@profiler.trace @profiler.trace
@safe_swift_exception @safe_swift_exception
def swift_get_container(request, container_name, with_data=True): def swift_get_container(request, container_name, with_data=False):
if with_data: if with_data:
headers, data = swift_api(request).get_object(container_name, "") headers, data = swift_api(request).get_object(container_name, "")
else: else:
data = None data = None
headers = swift_api(request).head_container(container_name) headers = swift_api(request).head_container(container_name)
timestamp = None timestamp = None
is_public = False is_public = False
public_url = None public_url = None
storage_policy = headers.get("x-storage-policy") storage_policy = headers.get("x-storage-policy")
storage_policy_display_name = \ storage_policy_display_name = \
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)