You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
One of the workarounds for #764 is to set up a /usr/bin/python link so that #!/usr/bin/env python can find something to use as its interpreter.
Within the scripts, the use of #!/usr/bin/env is inconsistent. In some scripts we have this old config which requires the set-alternatives workaround: #!/usr/bin/env python. This is present even in the "ported to Python 3" directory. For example:
It seems like since #!/usr/bin/env python3 is already in use in some scripts, it would make sense to configure this as the default for all of the scripts in the 3.x directory. This appears to already be the case for the set of scripts in Providers/nxOMSAutomationWorker/automationworker/3.x with the odd exceptions of worker/__init__.py and worker/importHelper.py
The text was updated successfully, but these errors were encountered:
One of the workarounds for #764 is to set up a /usr/bin/python link so that
#!/usr/bin/env python
can find something to use as its interpreter.Within the scripts, the use of
#!/usr/bin/env
is inconsistent. In some scripts we have this old config which requires the set-alternatives workaround:#!/usr/bin/env python
. This is present even in the "ported to Python 3" directory. For example:PowerShell-DSC-for-Linux/Providers/Scripts/3.x/Scripts/nxArchive.py
Line 1 in 9f6301f
In other places, there's the more explicit and will-work-on-RHEL8-by-default
#!/usr/bin/env python3
:PowerShell-DSC-for-Linux/Providers/Scripts/3.x/Scripts/nxAvailableUpdates.py
Line 1 in 9f6301f
It seems like since
#!/usr/bin/env python3
is already in use in some scripts, it would make sense to configure this as the default for all of the scripts in the 3.x directory. This appears to already be the case for the set of scripts inProviders/nxOMSAutomationWorker/automationworker/3.x
with the odd exceptions ofworker/__init__.py
andworker/importHelper.py
The text was updated successfully, but these errors were encountered: