[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2307: Handle withdrawnin quoting when it's not NULL (pp_checker)

Stew Benedict stewb at linux-foundation.org
Fri Sep 28 20:20:47 UTC 2012


------------------------------------------------------------
revno: 2307
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: devchk
timestamp: Fri 2012-09-28 16:20:47 -0400
message:
  Handle withdrawnin quoting when it's not NULL (pp_checker)
modified:
  ts/devchk/pp_checker
-------------- next part --------------
=== modified file 'ts/devchk/pp_checker'
--- a/ts/devchk/pp_checker	2012-09-27 18:50:52 +0000
+++ b/ts/devchk/pp_checker	2012-09-28 20:20:47 +0000
@@ -63,6 +63,9 @@
 			my $withdrawnin = $info->{$tid}{withdrawnin};
 			my $basetype    = $info->{$tid}{basetype};
 			my $attribute   = $info->{$tid}{attribute};
+			if ($withdrawnin ne "NULL") {
+				$withdrawnin = "'" . $withdrawnin . "'";
+			}
 			print "REPLACE INTO ArchType VALUES ($arch,$tid,'$size','$appearedin',$withdrawnin,$basetype,$attribute);\n"
 		}
 	}



More information about the lsb-messages mailing list