[libparse-debcontrol-perl] 01/02: Fix typo in error message in patch.

gregor herrmann gregoa at debian.org
Thu May 18 15:47:11 UTC 2017


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

gregoa pushed a commit to branch master
in repository libparse-debcontrol-perl.

commit 9d8a209fa14122141fa69c23214b528d4c88628e
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu May 18 17:46:23 2017 +0200

    Fix typo in error message in patch.
---
 debian/patches/0001-Parse-DebControl-error-handling.patch | 2 +-
 debian/patches/0002-Strict-parse.patch                    | 2 +-
 debian/patches/0003-Parse-DebControl-Patch.patch          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/0001-Parse-DebControl-error-handling.patch b/debian/patches/0001-Parse-DebControl-error-handling.patch
index e3a45ff..f41d241 100644
--- a/debian/patches/0001-Parse-DebControl-error-handling.patch
+++ b/debian/patches/0001-Parse-DebControl-error-handling.patch
@@ -161,7 +161,7 @@ return value
  			}else{
 -				$this->_dowarn("Parse error on line $linenum of data; invalid key/value stanza");
 -				return $structs;
-+                throw Parse::DebControl::Error::Parse('invalid key/value stansa', $linenum, $line);
++                throw Parse::DebControl::Error::Parse('invalid key/value stanza', $linenum, $line);
  			}
  
  		}elsif($line =~ /^([\t\s])(.*)/)
diff --git a/debian/patches/0002-Strict-parse.patch b/debian/patches/0002-Strict-parse.patch
index 65e9dba..5f25a72 100644
--- a/debian/patches/0002-Strict-parse.patch
+++ b/debian/patches/0002-Strict-parse.patch
@@ -205,7 +205,7 @@ Currently follwing formats are available:
  				{
  					$key = lc($key);
 @@ -299,14 +439,22 @@ sub _parseDataHandle
-                 throw Parse::DebControl::Error::Parse('invalid key/value stansa', $linenum, $line);
+                 throw Parse::DebControl::Error::Parse('invalid key/value stanza', $linenum, $line);
  			}
  
 -		}elsif($line =~ /^([\t\s])(.*)/)
diff --git a/debian/patches/0003-Parse-DebControl-Patch.patch b/debian/patches/0003-Parse-DebControl-Patch.patch
index d3cd770..6a1e944 100644
--- a/debian/patches/0003-Parse-DebControl-Patch.patch
+++ b/debian/patches/0003-Parse-DebControl-Patch.patch
@@ -160,7 +160,7 @@ Easy OO parsing of debian patch file metadata (DEP3) data
 +
 +				$lastfield = $key;
 +			}else{
-+				throw Parse::DebControl::Error::Parse('invalid key/value stansa', $linenum, $line);
++				throw Parse::DebControl::Error::Parse('invalid key/value stanza', $linenum, $line);
 +			}
 +
 +		} elsif($line =~ /^([\t\s])(.*)/) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-debcontrol-perl.git



More information about the Pkg-perl-cvs-commits mailing list