Revert the fix for #8006

pull/8600/head
Akshay Joshi 2025-03-27 12:32:25 +05:30
parent 82c5febde6
commit 1d3e0a4455
3 changed files with 7 additions and 3 deletions

View File

@ -37,7 +37,6 @@ Housekeeping
Bug fixes
*********
| `Issue #8006 <https://github.com/pgadmin-org/pgadmin4/issues/8006>`_ - Removed the pre-install script from the Red Hat build function as it was causing a No such file or directory warning during the update.
| `Issue #8316 <https://github.com/pgadmin-org/pgadmin4/issues/8316>`_ - Ensure that modal dialogs are not triggered more than once to avoid duplicates.
| `Issue #8355 <https://github.com/pgadmin-org/pgadmin4/issues/8355>`_ - Change session files garbage collection strategy.
| `Issue #8362 <https://github.com/pgadmin-org/pgadmin4/issues/8362>`_ - Fixed an issue where pgAdmin should fallback to main screen if the last opened screen is disconnected.

View File

@ -68,6 +68,12 @@ Requires: ${PYTHON_BINARY}, libpq5, krb5-libs
%description
The core server package for pgAdmin. pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
%pre
rm -rf /usr/pgadmin4/venv
if [ -d /usr/pgadmin4/web ]; then
cd /usr/pgadmin4/web && rm -rf \$(ls -A -I config_local.py)
fi
%build
%install

View File

@ -274,8 +274,7 @@ def non_windows_platform(parent, p, fd, data, max_read_bytes, sid):
except OSError as e:
# If the process is killed, bad file descriptor exception may
# occur. Handle it gracefully
if p.poll() is not None:
raise e
pass
def pty_handel_io(connection_data, data, sid):