> Revision 944 Author gunark Date 2007-08-29 16:48:17 -0400 (Wed, 29 Aug > > Diff > Modified: trunk/openwfe-ruby/lib/openwfe/utils.rb (943 => > 944) > --- trunk/openwfe-ruby/lib/openwfe/utils.rb 2007-08-29 > 08:20:53 UTC (rev 943) > +++ trunk/openwfe-ruby/lib/openwfe/utils.rb 2007-08-29 > 20:48:17 UTC (rev 944) > @@ -69,7 +69,6 @@ > # Attempts a deep cloning of the object > # > def OpenWFE.copy (object) > - > return nil if object == nil > > if object.kind_of?(Array) > @@ -88,7 +87,7 @@ > return result > end > > - return object.dup > + object.dup rescue TypeError; object > end
Hi Matt, thanks a lot for the patches. Don't hesitate to add an entry for them in the CHANGELOG.txt at the root of the source tree. I will add a test case for that "symbol patch" right now, I'll also have a look at the fulldup() method I have there, maybe all should go through fulldup instead of copy, thanks for the help. Best regards, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
