[Pkg-privacy-commits] [msva-perl] 71/356: move version number to separate variable
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository msva-perl.
commit 179e568b34203f622bdd83b1289ac8389abc8853
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Mon Mar 8 23:22:05 2010 -0500
move version number to separate variable
---
msva-perl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/msva-perl b/msva-perl
index 3ace79f..ad8faaa 100755
--- a/msva-perl
+++ b/msva-perl
@@ -34,6 +34,8 @@ use strict;
use JSON;
use POSIX qw(strftime);
+ my $version = '0.1';
+
my %dispatch = (
'/' => { handler => \&noop,
methods => { 'GET' => 1 },
@@ -125,7 +127,7 @@ use strict;
my $cgi = shift;
return '200 OK', { available => JSON::true,
protoversion => 1,
- server => "MSVA-Perl 0.1" };
+ server => "MSVA-Perl ".$version };
}
# returns an empty list if bad key found.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git
More information about the Pkg-privacy-commits
mailing list