~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/py_cpp/PyRunActionManager.cc

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    head_str = JsonWrapper::JsonToString(*head_json);
70
70
    delete head_json;
71
71
    delete run_header;
72
 
  } catch(std::exception& exc) {
 
72
  } catch (std::exception& exc) {
73
73
    PyErr_SetString(PyExc_RuntimeError, (&exc)->what());
74
74
    return NULL;
75
75
  }
100
100
    foot_str = JsonWrapper::JsonToString(*foot_json);
101
101
    delete foot_json;
102
102
    delete run_footer;
103
 
  } catch(std::exception& exc) {
 
103
  } catch (std::exception& exc) {
104
104
    PyErr_SetString(PyExc_RuntimeError, (&exc)->what());
105
105
    return NULL;
106
106
  }