[Jifty-commit] r5182 - in jifty/trunk: lib/Jifty/TestServer

Jifty commits jifty-commit at lists.jifty.org
Fri Feb 29 12:31:59 EST 2008


Author: alexmv
Date: Fri Feb 29 12:31:57 2008
New Revision: 5182

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/TestServer/Apache.pm

Log:
 r28205 at zoq-fot-pik:  chmrr | 2008-02-29 12:31:11 -0500
  * Don't pull in another dep for something trivial


Modified: jifty/trunk/lib/Jifty/TestServer/Apache.pm
==============================================================================
--- jifty/trunk/lib/Jifty/TestServer/Apache.pm	(original)
+++ jifty/trunk/lib/Jifty/TestServer/Apache.pm	Fri Feb 29 12:31:57 2008
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use File::Slurp;
 use File::Spec;
 use Test::Builder;
 my $Tester = Test::Builder->new;
@@ -82,7 +81,7 @@
 sub pids {
     my $self = shift;
     return unless -e $self->{pidfile};
-    my $pid = read_file($self->{pidfile});
+    my $pid = do {local @ARGV = ($self->{pidfile}); scalar <>};
     chomp $pid;
     return ($pid);
 }


More information about the Jifty-commit mailing list