Show
Ignore:
Timestamp:
04/20/09 13:02:19 (3 years ago)
Author:
jon
Message:

Allowing both paths to access xsd files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • collective.imstransport.orig/trunk/collective/imstransport/Manifest.py

    r18 r115  
    5353                  ('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance'),] 
    5454    schema_locations = ['http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p2.xsd',] 
    55     schema_files = [('collective/imstransport/IMS', 'imscp_v1p2.xsd')] 
     55    schema_files = [(os.sep.join(['collective.imstransport','collective','imstransport','IMS']), 'imscp_v1p2.xsd')] 
    5656 
    5757 
     
    6464        for path in os.environ['PYTHONPATH'].split(':'): 
    6565            if 'collective.imstransport' in path: 
    66                 self.ims_path = path 
     66                self.ims_path = os.sep.join(path.split(os.sep)[:-1]) 
    6767                break 
    6868        else: