7678:285c786c4a9c | 7679:5816200f021b |
---|---|
17 from ..HgRevisionSelectionDialog import HgRevisionSelectionDialog | 17 from ..HgRevisionSelectionDialog import HgRevisionSelectionDialog |
18 | 18 |
19 | 19 |
20 class Gpg(HgExtension): | 20 class Gpg(HgExtension): |
21 """ | 21 """ |
22 Class implementing the fetch extension interface. | 22 Class implementing the gpg extension interface. |
23 """ | 23 """ |
24 def __init__(self, vcs): | 24 def __init__(self, vcs): |
25 """ | 25 """ |
26 Constructor | 26 Constructor |
27 | 27 |
31 | 31 |
32 self.gpgSignaturesDialog = None | 32 self.gpgSignaturesDialog = None |
33 | 33 |
34 def shutdown(self): | 34 def shutdown(self): |
35 """ | 35 """ |
36 Public method used to shutdown the fetch interface. | 36 Public method used to shutdown the gpg interface. |
37 """ | 37 """ |
38 if self.gpgSignaturesDialog is not None: | 38 if self.gpgSignaturesDialog is not None: |
39 self.gpgSignaturesDialog.close() | 39 self.gpgSignaturesDialog.close() |
40 | 40 |
41 def hgGpgSignatures(self, path): | 41 def hgGpgSignatures(self, path): |