Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Devel mailing list

Subject: Re: [MTT devel] [MTT svn] svn:mtt-svn r1575 - trunk/lib/MTT/Reporter
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2013-01-14 09:47:39


That's weird. Why would an "eval" fix this situation?

On Jan 14, 2013, at 8:15 AM, svn-commit-mailer_at_[hidden] wrote:

> Author: miked (Mike Dubman)
> Date: 2013-01-14 08:15:54 EST (Mon, 14 Jan 2013)
> New Revision: 1575
> URL: https://svn.open-mpi.org/trac/mtt/changeset/1575
>
> Log:
> fixes #1696
>
> Text files modified:
> trunk/lib/MTT/Reporter/MTTMongodb.pm | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> Modified: trunk/lib/MTT/Reporter/MTTMongodb.pm
> ==============================================================================
> --- trunk/lib/MTT/Reporter/MTTMongodb.pm Fri Jan 4 14:39:57 2013 (r1574)
> +++ trunk/lib/MTT/Reporter/MTTMongodb.pm 2013-01-14 08:15:54 EST (Mon, 14 Jan 2013) (r1575)
> @@ -117,7 +117,7 @@
>
> if($enable_mongo == 1)
> {
> - eval "$conn = MongoDB::Connection->new(host => $url);";
> + $conn = MongoDB::Connection->new(host => $url);
> if(defined($conn))
> {
> $db = $conn->mlnx_mtt;
> _______________________________________________
> mtt-svn mailing list
> mtt-svn_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-svn

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/