promise.py: remove unused import, appease pyflakes