filecheck: Fixed two bits broken in move from attachment.

master
Joey Hess 2008-08-28 13:04:45 -04:00
parent be2f9421d5
commit 2b602e2e9f
2 changed files with 8 additions and 2 deletions

View File

@ -69,7 +69,7 @@ package IkiWiki::PageSpec;
sub match_maxsize ($$;@) { #{{{
my $page=shift;
my $maxsize=eval{IkiWiki::Plugin::attachment::parsesize(shift)};
my $maxsize=eval{IkiWiki::Plugin::filecheck::parsesize(shift)};
if ($@) {
return IkiWiki::FailReason->new("unable to parse maxsize (or number too large)");
}
@ -90,7 +90,7 @@ sub match_maxsize ($$;@) { #{{{
sub match_minsize ($$;@) { #{{{
my $page=shift;
my $minsize=eval{IkiWiki::Plugin::attachment::parsesize(shift)};
my $minsize=eval{IkiWiki::Plugin::filecheck::parsesize(shift)};
if ($@) {
return IkiWiki::FailReason->new("unable to parse minsize (or number too large)");
}

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ikiwiki (2.63) UNRELEASED; urgency=low
* filecheck: Fixed two bits broken in move from attachment.
-- Joey Hess <joeyh@debian.org> Thu, 28 Aug 2008 13:04:15 -0400
ikiwiki (2.62) unstable; urgency=low
* Avoid using cp -a (again). (HenrikBrixAndersen)