]> git.donarmstrong.com Git - debbugs.git/commitdiff
use schema argument in Debbugs::Collection::Package
authorDon Armstrong <don@donarmstrong.com>
Sat, 29 Jun 2019 23:29:03 +0000 (16:29 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 29 Jun 2019 23:29:03 +0000 (16:29 -0700)
Debbugs/Collection/Package.pm

index 5f9089617d968b94ac8a3b6ac5c2d200ac0b8346..62b60798db7bfd506643d2725db2cc878700b574 100644 (file)
@@ -295,14 +295,14 @@ sub get_source_versions {
                     Debbugs::Version::Binary->new(version => $ver,
                                                   package_collection => $self->universe,
                                                   valid => 0,
-                                                  $self->has_schema?(schema => $self->schema):(),
+                                                  $self->schema_argument,
                                                  );
             }
         }
     }
     return
         Debbugs::Collection::Version->new(versions => \@return,
-                                          $self->has_schema?(schema => $self->schema):(),
+                                          $self->schema_argument,
                                           package_collection => $self->universe,
                                          );
 }