From 534ba86ecfaf9bebf609f2479269a334f7c8dd7a Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Tue, 2 Dec 2014 17:43:23 +0000 Subject: Explicitly strip newlines We don't want to accidentally strip other kinds of whitespace --- exts/pip.find_deps | 2 +- exts/pip.to_lorry | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exts/pip.find_deps b/exts/pip.find_deps index 26f31b2..ec842d8 100755 --- a/exts/pip.find_deps +++ b/exts/pip.find_deps @@ -260,7 +260,7 @@ def find_runtime_deps(source, name, version=None): if line == '': break - logging.debug(line.rstrip()) + logging.debug(line.rstrip('\n')) p.wait() # even with eof on both streams, we still wait diff --git a/exts/pip.to_lorry b/exts/pip.to_lorry index 1027459..da7df9b 100755 --- a/exts/pip.to_lorry +++ b/exts/pip.to_lorry @@ -62,7 +62,7 @@ def find_repo_type(url): if line == '': break - logging.debug(line.rstrip()) + logging.debug(line.rstrip('\n')) p.wait() # even with eof on both streams, we still wait -- cgit v1.2.1