Description: Fix getargspec() alias to getfullargspec removed from py 3.11
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1030535
Forwarded: no
Last-Update: 2023-02-14

--- python-pycdlib-1.12.0+ds1.orig/pycdlib/pycdlib.py
+++ python-pycdlib-1.12.0+ds1/pycdlib/pycdlib.py
@@ -2701,7 +2701,7 @@ class PyCdlib(object):
             if self.progress_cb is not None:
                 with warnings.catch_warnings():
                     warnings.simplefilter('ignore')
-                    if len(inspect.getargspec(self.progress_cb).args) == 2:  # pylint: disable=W1505
+                    if len(inspect.getfullargspec(self.progress_cb).args) == 2:  # pylint: disable=W1505
                         self.progress_cb(self.done, self.total)  # type: ignore
                     else:
                         self.progress_cb(self.done, self.total, self.progress_opaque)
