diff options
author | micheles <micheles@micheles-mac> | 2010-05-22 14:28:00 +0200 |
---|---|---|
committer | micheles <micheles@micheles-mac> | 2010-05-22 14:28:00 +0200 |
commit | 5fcc5f55facbd720760e7d4d7f546300b0bf3078 (patch) | |
tree | 7eedfe79eb66e27b14e510be78bf1b65bcfb69e2 /scheme2rst.py | |
parent | 90358f59174cd8fdb7af2e843770923f4a879b22 (diff) | |
download | micheles-5fcc5f55facbd720760e7d4d7f546300b0bf3078.tar.gz |
Minor fixed to the Adventures
Diffstat (limited to 'scheme2rst.py')
-rw-r--r-- | scheme2rst.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scheme2rst.py b/scheme2rst.py index 9b3b524..f122849 100644 --- a/scheme2rst.py +++ b/scheme2rst.py @@ -25,11 +25,11 @@ SNIPPETNAME = re.compile(r'\n\$\$(%s)\n' % identifier) INCLUDE = re.compile(r'\$\$([-\w\d_\./]+):') INCLUDESNIPPET = re.compile(r'\$\$([-\w\d_\.]+):(%s)\n' % identifier) -PATH = os.environ['IKARUS_LIBRARY_PATH'] +PATHS = os.environ['IKARUS_LIBRARY_PATH'].split(':') -APS_PATH = os.path.join(PATH, 'aps') +APS_PATH = os.path.join(PATHS[0], 'aps') -PATHS = '.', PATH, APS_PATH +PATHS = ['.'] + PATHS + [APS_PATH] def include(fname, paths=PATHS, exts=('.ss', '.sls')): for path in paths: |