# HG changeset patch # User Pierre-Yves David # Date 1459151436 25200 # Node ID 99f983e8e18f06c24e576363376fbcb2bf5553e5 # Parent be0bc9dcb930cfb00ca20b3e22b98fce5f1ae1d2 setup: make sure we use the imported module This prevent pyflakes to complains about it (and work around any possible demand import magic. I'm not sure why we do this important dance at all, but I'm leaving it there in doubt. diff -r be0bc9dcb930 -r 99f983e8e18f setup.py --- a/setup.py Mon Mar 21 21:38:56 2016 -0700 +++ b/setup.py Mon Mar 28 00:50:36 2016 -0700 @@ -3,6 +3,7 @@ requires = [] try: import mercurial + mercurial.__all__ except ImportError: requires.append('mercurial')