[26224] in Source-Commits
Re: /svn/athena r25463 - in trunk/debathena/config/printing-config:
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Tue Apr 17 17:16:09 2012
Date: Tue, 17 Apr 2012 17:16:06 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201204171534.q3HFYaxL010716@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1204171715080.10002@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Looks reasonable, ACK.
--
Geoffrey Thomas
geofft@mit.edu
On Tue, 17 Apr 2012, Jonathan D Reed wrote:
> Author: jdreed
> Date: 2012-04-17 11:34:35 -0400 (Tue, 17 Apr 2012)
> New Revision: 25463
>
> Modified:
> trunk/debathena/config/printing-config/debathena/printing/common.py
> trunk/debathena/config/printing-config/debian/changelog
> Log:
> In printing-config:
> * Include deprecation warning for LPRng-style arguments to support
> future removal
>
>
> Modified: trunk/debathena/config/printing-config/debathena/printing/common.py
> ===================================================================
> --- trunk/debathena/config/printing-config/debathena/printing/common.py 2012-04-02 20:56:47 UTC (rev 25462)
> +++ trunk/debathena/config/printing-config/debathena/printing/common.py 2012-04-17 15:34:35 UTC (rev 25463)
> @@ -100,6 +100,8 @@
> for opt_identifier, optinfo in optinfos:
> try:
> options, arguments = getopt.gnu_getopt(args, optinfo)
> + if opt_identifier == SYSTEM_LPRNG:
> + sys.stderr.write("WARNING: You appear to be using LPRng-style arguments (e.g. -Zduplex).\nThese are deprecated and will not be supported in the future.\nFor more information, please see http://kb.mit.edu/confluence/x/HgAABw\n");
> return opt_identifier, options, arguments
> except getopt.GetoptError:
> # That version doesn't work, so try the next one
>
> Modified: trunk/debathena/config/printing-config/debian/changelog
> ===================================================================
> --- trunk/debathena/config/printing-config/debian/changelog 2012-04-02 20:56:47 UTC (rev 25462)
> +++ trunk/debathena/config/printing-config/debian/changelog 2012-04-17 15:34:35 UTC (rev 25463)
> @@ -1,10 +1,15 @@
> -debathena-printing-config (1.28) UNRELEASED; urgency=low
> +debathena-printing-config (1.28) unstable; urgency=low
>
> + [ Geoffrey Thomas ]
> * Handle an empty Hesiod result set more gracefully (not sure if this
> is possible, but it's worth being robust to)
>
> - -- Geoffrey Thomas <geofft@mit.edu> Thu, 17 Nov 2011 12:50:02 -0500
> + [ Jonathan Reed ]
> + * Include deprecation warning for LPRng-style arguments to support
> + future removal
>
> + -- Jonathan Reed <jdreed@mit.edu> Tue, 17 Apr 2012 11:38:11 -0400
> +
> debathena-printing-config (1.27) unstable; urgency=low
>
> * Build-dep on debathena-cups because in Oneiric, python-cups stopped
>
>