This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=cf91da7fa107ad0a71e11caf45b3dcce89271c2e

commit cf91da7fa107ad0a71e11caf45b3dcce89271c2e
Author: Guillem Jover <[email protected]>
AuthorDate: Mon Nov 7 22:50:39 2022 +0100

    Dpkg::Changelog: Rename __sanity_check_range method to _sanitize_range
    
    Avoid the sanity_check term as we are performing cleanups too. Remove
    the double prefix underscore, not used anywhere else in the codebase.
---
 scripts/Dpkg/Changelog.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Dpkg/Changelog.pm b/scripts/Dpkg/Changelog.pm
index ebc50e211..ffa7fc21a 100644
--- a/scripts/Dpkg/Changelog.pm
+++ b/scripts/Dpkg/Changelog.pm
@@ -223,7 +223,7 @@ to return. See section L<"RANGE SELECTION">.
 
 =cut
 
-sub __sanity_check_range {
+sub _sanitize_range {
     my ($self, $r) = @_;
     my $data = $self->{data};
 
@@ -371,7 +371,7 @@ sub _data_range {
 
     return [ @$data ] if $self->_is_full_range($range);
 
-    $self->__sanity_check_range($range);
+    $self->_sanitize_range($range);
 
     my ($start, $end);
     if (defined($range->{count})) {

-- 
Dpkg.Org's dpkg

Reply via email to