Skip to content

Commit 4891997

Browse files
committed
Missing brace and minor formatting in Windows installer
1 parent 2ea51c9 commit 4891997

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,7 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
707707
HRESULT hr = S_OK;
708708
BAL_INFO_PACKAGE* pPackage = nullptr;
709709

710-
if (_nextPackageAfterRestart) // after force restart, skip packages until after the package that caused the restart.
711-
{
710+
if (_nextPackageAfterRestart) {
712711
// After restart we need to finish the dependency registration for our package so allow the package
713712
// to go present.
714713
if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, 0, wzPackageId, -1, _nextPackageAfterRestart, -1)) {
@@ -723,6 +722,7 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
723722
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Skipping package: %ls, after restart because it was applied before the restart.", wzPackageId);
724723

725724
*pRequestState = BOOTSTRAPPER_REQUEST_STATE_NONE;
725+
}
726726
} else if ((_plannedAction == BOOTSTRAPPER_ACTION_INSTALL || _plannedAction == BOOTSTRAPPER_ACTION_MODIFY) &&
727727
SUCCEEDED(BalInfoFindPackageById(&_bundle.packages, wzPackageId, &pPackage))) {
728728
BOOL f = FALSE;

0 commit comments

Comments
 (0)