Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 604625 Details for
Bug 848344
Problem submitting jobs from cumin via Aviary when commands have no arguments
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to handle missing fields in Aviary job submission
BZ848344.patch (text/plain), 753 bytes, created by
Trevor McKay
on 2012-08-15 15:04:29 UTC
(
hide
)
Description:
Patch to handle missing fields in Aviary job submission
Filename:
MIME Type:
Creator:
Trevor McKay
Created:
2012-08-15 15:04:29 UTC
Size:
753 bytes
patch
obsolete
>Index: sage/python/sage/aviary/aviaryoperations.py >=================================================================== >--- sage/python/sage/aviary/aviaryoperations.py (revision 5444) >+++ sage/python/sage/aviary/aviaryoperations.py (working copy) >@@ -149,7 +149,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([])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 848344
:
604571
| 604625