Skip to content

Commit

Permalink
remote job submission: make python and PHP APIs agree
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson committed Sep 19, 2017
1 parent c6d3ae5 commit 3fb7949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/submit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def __init__(self):
return
def to_xml(self):
xml = '<job>\n'
if hasattr(self, 'name'):
xml += '<name>%s</name>\n'%self.name
if hasattr(self, 'rsc_fpops_est'):
xml += '<rsc_fpops_est>%f</rsc_fpops_est>\n'%self.rsc_fpops_est
if hasattr(self, 'command_line'):
Expand Down

0 comments on commit 3fb7949

Please sign in to comment.