Change-Id: If79d45bf9c7243be8cc9f1dd0ec7aee24380efad
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3765
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Chang Lee <changlee@vmware.com>
| ... | ... |
@@ -573,8 +573,6 @@ class PackageUtils(object): |
| 573 | 573 |
returnVal = CommandUtils().runCommandInShell(cmd, logFile) |
| 574 | 574 |
testLogFile = destLogPath+"/"+package+"-test.log" |
| 575 | 575 |
shutil.copyfile(rpmLog, testLogFile) |
| 576 |
- else: |
|
| 577 |
- shutil.copy2(rpmLog, destLogPath) |
|
| 578 | 576 |
self.logger.info("RPM build is successful")
|
| 579 | 577 |
|
| 580 | 578 |
# Verify RPM and SRPM files exist as success criteria |