Changeset 125 for trunk/src/python_SD.cc


Ignore:
Timestamp:
12/10/04 14:54:54 (19 years ago)
Author:
mar637
Message:

Moved to casa namespace.
Adjusted the copyright to be ATNF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_SD.cc

    r95 r125  
    33//#---------------------------------------------------------------------------
    44//# Copyright (C) 2004
    5 //# Malte Marquarding, ATNF
     5//# ATNF
    66//#
    77//# This program is free software; you can redistribute it and/or modify it
     
    3131#include <string>
    3232#include <vector>
     33
    3334#include <boost/python.hpp>
    3435#include <boost/python/pyconversions.h>
    3536#include <boost/python/exception_translator.hpp>
    36 #include <casa/Exceptions.h>
     37
     38#include <casa/aips.h>
     39#include <casa/Exceptions/Error.h>
    3740
    3841#include "python_SD.h"
     
    4043namespace asap {
    4144  namespace python {
    42 void translate_ex(AipsError const& e)
     45void translate_ex(const casa::AipsError& e)
    4346{
    4447  // Use the Python 'C' API to set up an exception object
     
    5760  asap::python::python_SDFitter();
    5861
    59   register_exception_translator<AipsError>(&asap::python::translate_ex);
     62  register_exception_translator<casa::AipsError>(&asap::python::translate_ex);
    6063
    6164  std_vector_to_tuple < int > ();
Note: See TracChangeset for help on using the changeset viewer.