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=17691c674a3f61800e8fed38ceb848d1f611b41b

commit 17691c674a3f61800e8fed38ceb848d1f611b41b
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Dec 28 01:03:44 2022 +0100

    dpkg-scansources: Fix newline breaks for ternary operators
    
    Changelog: internal
---
 scripts/dpkg-scansources.pl | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/dpkg-scansources.pl b/scripts/dpkg-scansources.pl
index 994beaeb4..6c86cd938 100755
--- a/scripts/dpkg-scansources.pl
+++ b/scripts/dpkg-scansources.pl
@@ -239,17 +239,17 @@ sub process_dsc {
         ($override{$b} ? $priority{$override{$b}[O_PRIORITY]} : 0)
     } @binary;
     my $priority_override = $override{$binary_by_priority[-1]};
-    my $priority = $priority_override
-                       ? $priority_override->[O_PRIORITY]
-                       : undef;
+    my $priority = $priority_override ?
+                   $priority_override->[O_PRIORITY] :
+                   undef;
     $fields->{Priority} = $priority if defined $priority;
 
     # For the section override, first check for a record from the source
     # override file, else use the regular override file.
     my $section_override = $override{"source/$source"} || $override{$source};
-    my $section = $section_override
-                       ? $section_override->[O_SECTION]
-                       : undef;
+    my $section = $section_override ?
+                  $section_override->[O_SECTION] :
+                  undef;
     $fields->{Section} = $section if defined $section;
 
     # For the maintainer override, use the override record for the first

-- 
Dpkg.Org's dpkg

Reply via email to