/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/resource.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/resource.py

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

revision 1786 by bh, Wed Oct 8 10:39:11 2003 UTC revision 1791 by jan, Wed Oct 8 14:47:53 2003 UTC
# Line 105  def get_user_proj_file(): Line 105  def get_user_proj_file():
105      filename = os.path.join(usrdir, "user.proj")      filename = os.path.join(usrdir, "user.proj")
106      try:      try:
107          return read_proj_file(filename)          return read_proj_file(filename)
108      except (OSError, IOError, SAXParseException):      except (OSError, IOError, SAXParseException), val:
109          msg = _('Could not read "%s": %s') % (filename, str(val))          msg = _('Could not read "%s": %s') % (filename, str(val))
110          return ProjFile(filename), [msg]          return ProjFile(filename), [msg]
111    

Legend:
Removed from v.1786  
changed lines
  Added in v.1791

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26