Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Mon, 25 Mar 2013 18:27:06 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 25 Mar 2013 18:27:06 +0100
branch
Py2 comp.
changeset 2546
dd9f912d5bd9
parent 2525
8b507a9a2d40
child 3145
a9de05d4a22f
permissions
-rw-r--r--

Fixed an issue introduced by the last changes.
(grafted from 3868561e396213cc9222591938181c6b6d238faa)

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

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

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

from __future__ import unicode_literals    # __IGNORE_WARNING__

from PyQt4.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(HgExtension, self).__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