/[escript]/trunk/escript/py_src/modelframe.py
ViewVC logotype

Diff of /trunk/escript/py_src/modelframe.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 919 by gross, Wed Jan 3 06:30:00 2007 UTC revision 920 by gross, Thu Jan 4 00:00:40 2007 UTC
# Line 1130  class DataSource(object): Line 1130  class DataSource(object):
1130          node.appendChild(ds)          node.appendChild(ds)
1131    
1132      def fromDom(cls, esysxml, node):      def fromDom(cls, esysxml, node):
1133          uri= node.getElementsByTagName("URI")[0].firstChild.nodeValue.strip()          uri= str(node.getElementsByTagName("URI")[0].firstChild.nodeValue.strip())
1134          fileformat= node.getElementsByTagName("FileFormat")[0].firstChild.nodeValue.strip()          fileformat= str(node.getElementsByTagName("FileFormat")[0].firstChild.nodeValue.strip())
1135          ds = cls(uri, fileformat)          ds = cls(uri, fileformat)
1136          return ds          return ds
1137    

Legend:
Removed from v.919  
changed lines
  Added in v.920

  ViewVC Help
Powered by ViewVC 1.1.26