[26223] in Source-Commits
/svn/athena r25463 - in trunk/debathena/config/printing-config: debathena/printing debian
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Apr 17 11:34:37 2012
Date: Tue, 17 Apr 2012 11:34:36 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201204171534.q3HFYaxL010716@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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