[PATCH STABLE] setup.py: properly discard trust warning

Isaac Jurado diptongo at gmail.com
Tue Apr 2 09:08:10 CDT 2013


# HG changeset patch
# User Isaac Jurado <diptongo at gmail.com>
# Date 1364911390 -7200
# Branch stable
# Node ID 6cba58a28560568137b61a3fb7714c0bb4dc9929
# Parent  801d3db0473ce44d2a37a5bd1b3b340b0a35a2ee
setup.py: properly discard trust warning.

This modification was missing from the fa91ddfc3f36 changeset.

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -148,7 +148,7 @@
     # fine, we don't want to load it anyway.  Python may warn about
     # 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')) \
+           if not e.startswith(b('not trusting file')) \
               and not e.startswith(b('warning: Not importing')) \
               and not e.startswith(b('obsolete feature not enabled'))]
     if err:


More information about the Mercurial-devel mailing list