Ignore:
Timestamp:
Aug 28, 2008 2:47:15 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
2d5c8b6
Parents:
0d830de
Message:

Experiment creation integrated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/fedd_create_experiment.py

    r0d830de rb234bb9  
    10891089                    "Can't make temporary dir")
    10901090
     1091        req = req.get('CreateRequestBody', None)
     1092        if not req:
     1093            raise service_error(service_error.request,
     1094                    "Bad request format (no CreateRequestBody)")
    10911095        # The tcl parser needs to read a file so put the content into that file
    10921096        file_content=req.get('experimentdescription', None)
    1093         if file_content != None:
     1097        if file_content:
    10941098            try:
    10951099                f = open(tclfile, 'w')
Note: See TracChangeset for help on using the changeset viewer.