Skip to content

Commit

Permalink
* Prevent Storable from dying when encountering a code object in
Browse files Browse the repository at this point in the history
  save_more.
  • Loading branch information
perusionmike committed Apr 8, 2004
1 parent 3d130fc commit 7ddcd60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Vend/Search.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Vend::Search - Base class for search engines
#
# $Id: Search.pm,v 2.21 2003-10-13 11:39:14 racke Exp $
# $Id: Search.pm,v 2.22 2004-04-08 15:05:09 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
Expand All @@ -22,7 +22,7 @@

package Vend::Search;

$VERSION = substr(q$Revision: 2.21 $, 10);
$VERSION = substr(q$Revision: 2.22 $, 10);

use strict;
use vars qw($VERSION);
Expand Down Expand Up @@ -1138,6 +1138,7 @@ sub save_more {
#::logDebug("save_more: $id to $file.");
my $new = { %$s };
$new->{mv_results} = $out;
delete $new->{search_routines};
#::logDebug("save_more:object:" . ::uneval($new));
eval {
Vend::Util::uneval_file($new, $file);
Expand Down

0 comments on commit 7ddcd60

Please sign in to comment.