/[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 1188 by jonathan, Thu Jun 12 16:12:56 2003 UTC revision 1189 by jonathan, Thu Jun 12 17:01:13 2003 UTC
# Line 21  from xml.sax import SAXParseException Line 21  from xml.sax import SAXParseException
21  projdir = \  projdir = \
22          os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Projections")          os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Projections")
23    
 usrdir  = get_application_dir()  
24    
25  PROJ_EXT = ".proj"  PROJ_EXT = ".proj"
26    
# Line 94  def get_user_proj_files(): Line 93  def get_user_proj_files():
93      empty projection file set to store data in the default file.      empty projection file set to store data in the default file.
94      """      """
95    
96        usrdir  = get_application_dir()
97      filename = os.path.join(usrdir, "user.proj")      filename = os.path.join(usrdir, "user.proj")
98      try:      try:
99          return [read_proj_file(filename)]          return [read_proj_file(filename)]

Legend:
Removed from v.1188  
changed lines
  Added in v.1189

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26