diff options
author | Guillem Jover <guillem@debian.org> | 2016-11-03 03:37:50 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-11-03 06:03:35 +0100 |
commit | 2aa7752b0069188cc692fd71db6a680d94bc1765 (patch) | |
tree | d064a1147cbc1451d6a4974b832766217cd41520 /scripts/Dpkg/Dist/Files.pm | |
parent | 39cb4f28e973ac1860b57777e795ce1eafb7875d (diff) | |
download | dpkg-2aa7752b0069188cc692fd71db6a680d94bc1765.tar.gz |
Dpkg::Dist::Files: Change add_file to return $file
Diffstat (limited to 'scripts/Dpkg/Dist/Files.pm')
-rw-r--r-- | scripts/Dpkg/Dist/Files.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Dpkg/Dist/Files.pm b/scripts/Dpkg/Dist/Files.pm index 2045a1a72..c5d5fb0e1 100644 --- a/scripts/Dpkg/Dist/Files.pm +++ b/scripts/Dpkg/Dist/Files.pm @@ -122,6 +122,8 @@ sub add_file { $file->{priority} = $priority; $self->{files}->{$filename} = $file; + + return $file; } sub del_file { |