Skip to content

Commit

Permalink
working on detecting error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Alan Weaver committed Mar 15, 2016
1 parent 7f97ca0 commit 1f59974
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions py/desiutil/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,9 +957,11 @@ def install(self):
# MANIFEST.in and not finding directories. These
# can be ignored.
#
manifestre = re.compile(r"no (previously-included|) " +
r"(directories|files) found " +
r"matching '[^']+'")
manifestre = re.compile(r"error:", re.I)
# manifestre = re.compile(r"no( previously-included| )" +
# r"( directories| files)" +
# r"( found| ) " +
# r"matching '[^']+'")
lines = [l for l in err.split('\n') if len(l) > 0 and
manifestre.search(l) is None]
if len(lines) > 0:
Expand Down

0 comments on commit 1f59974

Please sign in to comment.