[25648] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25142 - trunk/debathena/config/printing-config/debathena/printing

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Sun Jun 19 17:18:06 2011

Date: Sun, 19 Jun 2011 17:18:00 -0400
From: Benjamin Kaduk <kaduk@MIT.EDU>
Message-Id: <201106192118.p5JLI0f0032121@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: kaduk
Date: 2011-06-19 17:18:00 -0400 (Sun, 19 Jun 2011)
New Revision: 25142

Modified:
   trunk/debathena/config/printing-config/debathena/printing/simple.py
Log:
wrap long line and be consistent about space after commas

Modified: trunk/debathena/config/printing-config/debathena/printing/simple.py
===================================================================
--- trunk/debathena/config/printing-config/debathena/printing/simple.py	2011-06-17 04:59:56 UTC (rev 25141)
+++ trunk/debathena/config/printing-config/debathena/printing/simple.py	2011-06-19 21:18:00 UTC (rev 25142)
@@ -27,7 +27,9 @@
             # hence parse_args returns None)
             # Remove this stupidity when we kill LPRng with fire
             print "Syntax Error: Incorrect option passed."
-            print "Valid options: " + string.replace(re.sub(r'([a-zA-Z])',r'-\1 ',optinfo[common.SYSTEM_CUPS][1]), ':', '[arg] ')
+            print "Valid options: " +
+                  string.replace(re.sub(r'([a-zA-Z])', r'-\1 ',
+                                 optinfo[common.SYSTEM_CUPS][1]), ':', '[arg] ')
             sys.exit(2)
         argstyle, options, arguments = parseresult
 


home help back first fref pref prev next nref lref last post