diff setup.py @ 18754:d420ac09f866 stable

setup.py: ignore warnings from obsolete Fix version detection with recent hg versions.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 04 Mar 2013 10:05:52 +0100
parents 3f59cb1ccc73
children 930d54b1fd29
line wrap: on
line diff
--- a/setup.py	Mon Mar 04 10:13:28 2013 +0100
+++ b/setup.py	Mon Mar 04 10:05:52 2013 +0100
@@ -149,7 +149,8 @@
     # a missing __init__.py in mercurial/locale, we also ignore that.
     err = [e for e in err.splitlines()
            if not e.startswith(b('Not trusting file')) \
-              and not e.startswith(b('warning: Not importing'))]
+              and not e.startswith(b('warning: Not importing')) \
+              and not e.startswith(b('obsolete feature not enabled'))]
     if err:
         print >> sys.stderr, "stderr from '%s':" % (' '.join(cmd))
         print >> sys.stderr, '\n'.join(['  ' + e for e in err])