changeset 18866:930d54b1fd29 stable

setup.py: properly discard trust warning. This modification was missing from the fa91ddfc3f36 changeset.
author Isaac Jurado <diptongo@gmail.com>
date Tue, 02 Apr 2013 16:03:10 +0200
parents 801d3db0473c
children c7e8b143e086 8a7bd2dccd44
files setup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Tue Apr 02 01:05:31 2013 -0500
+++ b/setup.py	Tue Apr 02 16:03:10 2013 +0200
@@ -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: