Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: setup: ssl2jkstrust: do not try to rename if no 
source
......................................................................

packaging: setup: ssl2jkstrust: do not try to rename if no source

Related-To: https://bugzilla.redhat.com/show_bug.cgi?id=1058016
Change-Id: Ibae6aaff3cff8f056a80ad96494b06f5a70e3f54
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/legacy-setup/ssl2jkstrust.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/34/23734/1

diff --git a/packaging/legacy-setup/ssl2jkstrust.py 
b/packaging/legacy-setup/ssl2jkstrust.py
index 962ac04..ce09ff0 100755
--- a/packaging/legacy-setup/ssl2jkstrust.py
+++ b/packaging/legacy-setup/ssl2jkstrust.py
@@ -111,7 +111,8 @@
         p.communicate(input=c)
         if p.returncode != 0:
             raise RuntimeError('keytool failed')
-    os.rename(tmp, options.keystore)
+    if os.path.exists(tmp):
+        os.rename(tmp, options.keystore)
 
 main()
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibae6aaff3cff8f056a80ad96494b06f5a70e3f54
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to