Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 28
    • Merge requests 28
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Repository

Switch branch/tag
  • slapos.core
  • slapos
  • manager
  • prerm.py
Find file BlameHistoryPermalink
  • Jérome Perrin's avatar
    grid,manager: close xmlrpc.ServerProxy sockets · 79a91fb4
    Jérome Perrin authored Dec 28, 2018
    by using it getSupervisorRPC in a context manager which on python 3
    automatically closes.
    This needs fix from https://github.com/Supervisor/supervisor/issues/1184
    we assume that this fix is only on python 3.
    On python2, we keep this same behavior of not closing socket explicitly
    and leaving it to destructors.
    
    Also re-raise a few error cases that were ignored.
    79a91fb4

Replace prerm.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7