Skip to content

pcsclient: only import 'pypac' module on Windows#490

Open
berrange wants to merge 1 commit intointel:mainfrom
berrange:pcsclient-pypac
Open

pcsclient: only import 'pypac' module on Windows#490
berrange wants to merge 1 commit intointel:mainfrom
berrange:pcsclient-pypac

Conversation

@berrange
Copy link
Contributor

@berrange berrange commented Feb 5, 2026

The PACSession object is only used in a code path that runs on Windows, so don't try to import this on Linux, to avoid the redundant dependency.

Previously submitted as #429, but pccsadmin was removed from this repo, and so this resubmission targets pcsclient

The PACSession object is only used in a code path that runs on
Windows, so don't try to import this on Linux, to avoid the
redundant dependency.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant