[cig-commits] r13033 - in cs/cigma/trunk: pysrc src

luis at geodynamics.org luis at geodynamics.org
Wed Oct 15 02:07:18 PDT 2008


Author: luis
Date: 2008-10-15 02:07:17 -0700 (Wed, 15 Oct 2008)
New Revision: 13033

Modified:
   cs/cigma/trunk/pysrc/Py_DataPath.cpp
   cs/cigma/trunk/src/DataPath.cpp
Log:
Updated docstring and exception text for DataPath object

Modified: cs/cigma/trunk/pysrc/Py_DataPath.cpp
===================================================================
--- cs/cigma/trunk/pysrc/Py_DataPath.cpp	2008-10-15 08:43:42 UTC (rev 13032)
+++ cs/cigma/trunk/pysrc/Py_DataPath.cpp	2008-10-15 09:07:17 UTC (rev 13033)
@@ -6,9 +6,10 @@
 
 
 const char *DataPath_doc[] = {
+// 0: DataPath.__doc__
 "An object encapsulating a dataset path.\n",
 "Included in the core bindings as a first example",
-
+// 1: DataPath.__init__.__doc
 "Constructs a path given a colon separated filename:datapath string"
 };
 

Modified: cs/cigma/trunk/src/DataPath.cpp
===================================================================
--- cs/cigma/trunk/src/DataPath.cpp	2008-10-15 08:43:42 UTC (rev 13032)
+++ cs/cigma/trunk/src/DataPath.cpp	2008-10-15 09:07:17 UTC (rev 13033)
@@ -37,7 +37,7 @@
             }
             else
             {
-                throw cigma::Exception(string("dname"), string("Too many colons in path"));
+                throw cigma::Exception(string("DataPath"), string("Too many colons in path"));
             }
         }
         else



More information about the cig-commits mailing list