[Bps-public-commit] r17499 - in Net-Trac/trunk: .
trs at bestpractical.com
trs at bestpractical.com
Wed Dec 31 16:20:26 EST 2008
Author: trs
Date: Wed Dec 31 16:20:26 2008
New Revision: 17499
Modified:
Net-Trac/trunk/ (props changed)
Net-Trac/trunk/lib/Net/Trac/Connection.pm
Log:
r43360 at zot: tom | 2008-12-31 15:59:16 -0500
add newlines to avoid the source locations
Modified: Net-Trac/trunk/lib/Net/Trac/Connection.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/Connection.pm (original)
+++ Net-Trac/trunk/lib/Net/Trac/Connection.pm Wed Dec 31 16:20:26 2008
@@ -59,7 +59,7 @@
if ( !$self->mech->response->is_success ) {
warn "Server threw an error "
. $self->mech->response->status_line . " for "
- . $url;
+ . $url . "\n";
$die++;
}
@@ -70,11 +70,11 @@
<p class="message">(.*?)</p>}ism
)
{
- warn "$1 $2";
+ warn "$1 $2\n";
$die++;
}
- if ( $die ) { die "Request errored out." }
+ if ( $die ) { die "Request errored out.\n" }
else { return undef }
}
More information about the Bps-public-commit
mailing list