]> git.deb.at Git - deb/packages.git/commitdiff
Packages::SrcPage::merge_package: Return 1 on success
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 16 Jun 2008 18:37:12 +0000 (20:37 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Mon, 16 Jun 2008 18:37:12 +0000 (20:37 +0200)
Some callers expect that and Packages::Page::merge_package does it, too.

lib/Packages/SrcPage.pm

index 62d96d067d084dda9a2ec2d28898484f7844c239..62e8f7f62d289fd4c9f34c2f92c302d53bc8a549 100644 (file)
@@ -64,6 +64,8 @@ sub merge_package {
 
        $self->{version} = $data->{version};
     }
+
+    return 1;
 }
 
 #FIXME: should be mergable with the Packages::Page version