setup.py: ignore warnings from obsolete stable
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 04 Mar 2013 10:05:52 +0100
branchstable
changeset 18754 d420ac09f866
parent 18753 3f59cb1ccc73
child 18755 72412afe4c28
child 18761 8cc8715b3603
setup.py: ignore warnings from obsolete Fix version detection with recent hg versions.
setup.py
--- 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])