src/eric7/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Thu, 06 Apr 2023 09:32:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 06 Apr 2023 09:32:12 +0200
branch
eric7-maintenance
changeset 9974
c2ae0dd2021a
parent 9653
e67609152c5e
child 10438
4cd7e5a8b3cf
permissions
-rw-r--r--

Version Control Systems
- fixed an issue triggered by loading very old project files (i.e. those containing a no longer supported programmin language like Python2)
(grafted from d537cba05d38d157fb337507cc1f3adf4fa5234c)

# -*- coding: utf-8 -*-

# Copyright (c) 2011 - 2023 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing the base class for Mercurial extension interfaces.
"""

from PyQt6.QtCore import QObject


class HgExtension(QObject):
    """
    Class implementing the base class for Mercurial extension interfaces.
    """

    def __init__(self, vcs):
        """
        Constructor

        @param vcs reference to the Mercurial vcs object
        """
        super().__init__(vcs)

        self.vcs = vcs

    def shutdown(self):
        """
        Public method used to shutdown the extension interface.

        The method of this base class does nothing.
        """
        pass

eric ide

mercurial