File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Features:
1919
2020Fixed:
2121
22+ - Fixed OpenPGP support for modern versions of libgpgme. (Bernhard Reiter)
2223- Restored compatibility with old style trackers (anatoly techtonik)
2324- Make roundup play nice with setup tools (for using with virtualenv)
2425 (Pradip Caulagi)
Original file line number Diff line number Diff line change 4242
4343try :
4444 import pyme , pyme .core
45+ # gpgme_check_version() must have been called once in a programm
46+ # to initialise some subsystems of gpgme.
47+ # See the gpgme documentation (at least from v1.1.6 to 1.3.1, e.g.
48+ # http://gnupg.org/documentation/manuals/gpgme/Library-Version-Check.html)
49+ # This is not done by pyme (at least v0.7.0 - 0.8.1). So we do it here.
50+ # FIXME: Make sure it is done only once (the gpgme documentation does
51+ # not tell if calling this several times has drawbacks).
52+ pyme .core .check_version (None )
4553except ImportError :
4654 pyme = None
4755
Original file line number Diff line number Diff line change 120120def setUpPGP ():
121121 os .mkdir (pgphome )
122122 os .environ ['GNUPGHOME' ] = pgphome
123+ # gpgme_check_version() must have been called once in a programm
124+ # to initialise some subsystems of gpgme. See roundup/roundupdb.py.
123125 ctx = pyme .core .Context ()
124126 key = pyme .core .Data (pgp_test_key )
125127 ctx .op_import (key )
You can’t perform that action at this time.
0 commit comments