ployground / ploy

A tool to manage servers through a central configuration. Plugins allow provisioning, configuration and other management tasks.
http://ploy.readthedocs.org
BSD 3-Clause "New" or "Revised" License
78 stars 15 forks source link

FIX: Change getargspec to getfullargspec #48

Closed kabbeck closed 1 year ago

kabbeck commented 1 year ago

Changed in version 3.6: This method was previously documented as deprecated in favour of signature() in Python 3.5, but that decision has been reversed in order to restore a clearly supported standard interface for single-source Python 2/3 code migrating away from the legacy getargspec() API.

https://docs.python.org/3/library/inspect.html#inspect.getfullargspec

fschulze commented 1 year ago

I adapted the fix a bit: https://github.com/ployground/ploy/commit/077e428ce53f4dd794e8d0d8689b9584b1590e05