Francois Gouget : testbot/lib: Add calls to the parent InitializeNew() method.

Alexandre Julliard julliard at winehq.org
Thu May 1 11:53:36 CDT 2014


Module: tools
Branch: master
Commit: c05902e1f83cb191f5707346fc3f760cd5e03b10
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=c05902e1f83cb191f5707346fc3f760cd5e03b10

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu May  1 14:37:23 2014 +0200

testbot/lib: Add calls to the parent InitializeNew() method.

---

 testbot/lib/WineTestBot/Branches.pm |    1 +
 testbot/lib/WineTestBot/Users.pm    |    1 +
 2 files changed, 2 insertions(+)

diff --git a/testbot/lib/WineTestBot/Branches.pm b/testbot/lib/WineTestBot/Branches.pm
index 56f9965..ce975f1 100644
--- a/testbot/lib/WineTestBot/Branches.pm
+++ b/testbot/lib/WineTestBot/Branches.pm
@@ -38,6 +38,7 @@ sub InitializeNew
   my $self = shift;
 
   $self->IsDefault(!1);
+  $self->SUPER::InitializeNew();
 }
 
 package WineTestBot::Branches;
diff --git a/testbot/lib/WineTestBot/Users.pm b/testbot/lib/WineTestBot/Users.pm
index a0034ee..1f09446 100644
--- a/testbot/lib/WineTestBot/Users.pm
+++ b/testbot/lib/WineTestBot/Users.pm
@@ -44,6 +44,7 @@ sub InitializeNew
 
   $self->Status('active');
   $self->Password("*");
+  $self->SUPER::InitializeNew();
 }
 
 sub GeneratePasswordHash




More information about the wine-cvs mailing list