python: import type
* Fixed bug T4242 and tested that dropping "Import" in favour of "import_type" does indeed work just fine. Tested-by: Ben McGinnes <ben@adversary.org> Signed-off-by: Ben McGinnes <ben@adversary.org>
This commit is contained in:
parent
f773ad392d
commit
fd34415bdd
@ -32,13 +32,6 @@ from . import status, validity
|
|||||||
|
|
||||||
del absolute_import, print_function, unicode_literals, util
|
del absolute_import, print_function, unicode_literals, util
|
||||||
|
|
||||||
# This was a bad idea (though I get why it was done):
|
|
||||||
#
|
|
||||||
# # A complication arises because 'import' is a reserved keyword.
|
|
||||||
# # Import it as 'Import' instead.
|
|
||||||
# globals()['Import'] = getattr(
|
|
||||||
# __import__('', globals(), locals(), [str('import')], 1), "import")
|
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'data', 'event', 'import_type', 'keysign', 'keylist', 'md', 'pk',
|
'data', 'event', 'import_type', 'keysign', 'keylist', 'md', 'pk',
|
||||||
'protocol', 'sig', 'sigsum', 'status', 'tofu', 'validity', 'create'
|
'protocol', 'sig', 'sigsum', 'status', 'tofu', 'validity', 'create'
|
||||||
|
Loading…
Reference in New Issue
Block a user