r5445 - trunk/sage/python/sage/aviary
tmckay at fedoraproject.org
tmckay at fedoraproject.org
Wed Aug 15 14:26:58 UTC 2012
Author: tmckay
Date: 2012-08-15 14:26:57 +0000 (Wed, 15 Aug 2012)
New Revision: 5445
Modified:
trunk/sage/python/sage/aviary/aviaryoperations.py
Log:
Aviaryoperations needs to allow unspecified fields in the basic param
set for a submission. Downstream code will generate appropriate errors.
BZ848344
Modified: trunk/sage/python/sage/aviary/aviaryoperations.py
===================================================================
--- trunk/sage/python/sage/aviary/aviaryoperations.py 2012-08-13 17:00:17 UTC (rev 5444)
+++ trunk/sage/python/sage/aviary/aviaryoperations.py 2012-08-15 14:26:57 UTC (rev 5445)
@@ -296,7 +296,12 @@
args = list()
basic_attrs = ("Cmd", "Args", "Owner", "Iwd", "Submission")
for attr in basic_attrs:
- args.append(ad[attr])
+ try:
+ args.append(ad[attr])
+ except:
+ # Someone may be unhappy if this is a required param!
+ # Let the downstream code generate an error
+ pass
# Add empty list for Aviary's basic requirement value...
args.append([])
More information about the cumin-developers
mailing list