diff --git a/endpoints/verbs.py b/endpoints/verbs.py index 03c7f4bdf..191357de9 100644 --- a/endpoints/verbs.py +++ b/endpoints/verbs.py @@ -89,14 +89,10 @@ def _write_synthetic_image_to_storage(verb, linked_storage_uuid, linked_location queue_file.add_exception_handler(handle_exception) - print "Starting write of sythn image" - image_path = store.v1_image_layer_path(linked_storage_uuid) store.stream_write(linked_locations, image_path, queue_file) queue_file.close() - print "Done writing synth image" - if not queue_file.raised_exception: # Setup the database (since this is a new process) and then disconnect immediately # once the operation completes. @@ -173,7 +169,7 @@ def _repo_verb(namespace, repository, tag, verb, formatter, sign=False, checker= derived = model.storage.find_or_create_derived_storage(repo_image.storage, verb, store.preferred_locations[0]) - if not derived.uploading and False: + if not derived.uploading: logger.debug('Derived %s image %s exists in storage', verb, derived.uuid) derived_layer_path = model.storage.get_layer_path(derived) download_url = store.get_direct_download_url(derived.locations, derived_layer_path)