Alex Lourie has uploaded a new change for review.

Change subject: packaging: Improved output message on successful upload.
......................................................................

packaging: Improved output message on successful upload.

Change-Id: Ice13c9956d54192c19473d635e3813d303543483
Signed-off-by: Alex Lourie <alou...@redhat.com>
---
M src/engine-iso-uploader.py
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-iso-uploader 
refs/changes/01/7701/1

diff --git a/src/engine-iso-uploader.py b/src/engine-iso-uploader.py
index 4e6ce8f..8ba27fc 100644
--- a/src/engine-iso-uploader.py
+++ b/src/engine-iso-uploader.py
@@ -728,6 +728,8 @@
                             self.rename_file_ssh(user, address, 
temp_dest_file, dest_file)
                             # Force oVirt Engine to refresh the list of files 
in the ISO domain
                             self.refresh_iso_domain(id)
+                            print "\nINFO: ISO image uploaded successfully\n"
+                            logging.info("\nINFO: ISO image uploaded 
successfully\n")
                         else:
                             logging.error(_('There is not enough space in %s 
(%s bytes) for %s (%s bytes)' %
                                             (path, dir_size, file, file_size)))
@@ -772,6 +774,8 @@
                                     # Force oVirt Engine to refresh the list 
of files in the ISO domain
                                     if id is not None:
                                         self.refresh_iso_domain(id)
+                                    print "\nINFO: ISO image copied 
successfully\n"
+                                    logging.info("\nINFO: ISO image copied 
successfully\n")
                             else:
                                 logging.error(_('There is not enough space in 
%s (%s bytes) for %s (%s bytes)' %
                                               (path, dir_size, file, 
file_size)))


--
To view, visit http://gerrit.ovirt.org/7701
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice13c9956d54192c19473d635e3813d303543483
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-iso-uploader
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <alou...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to