diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-02 15:13:06 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-02 15:13:06 +0000 |
commit | 7f1eb8d208053d542a80b3e94acc7374c0c6112d (patch) | |
tree | a1faa4e5b2f5cfcb75a7d3103cee217dccf452b0 /usr.sbin/pkg_add/OpenBSD/PackingList.pm | |
parent | f06529114330fdfa04fa084eeb7f011d4faadee9 (diff) |
replace abstract Factory name with a more sensible create name.
Call it OO, so that we can specialize it if we ever need it.
Be more explicit about parameters.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingList.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index 3cbbf2c7d32..0458f6e0b0c 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingList.pm,v 1.60 2007/05/02 15:05:30 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.61 2007/05/02 15:13:05 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -73,7 +73,7 @@ sub read local $_ = shift; return if m/^\s*$/; chomp; - OpenBSD::PackingElement::Factory($_, $plist); + OpenBSD::PackingElement->create($_, $plist); if ($plist->{need_modules}) { close($fh); open($fh, '<', '/dev/null'); |