Skip to content

Commit

Permalink
Merge pull request #2823 from thobrla/develop
Browse files Browse the repository at this point in the history
Fix BOTH_PATH to work with Windows drives
  • Loading branch information
mfschwartz committed Mar 16, 2015
2 parents 4ffd9ba + c560d45 commit 7ba973e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boto/pyami/config.py
Expand Up @@ -42,10 +42,10 @@
BotoConfigLocations = [expanduser(os.environ['BOTO_CONFIG'])]

# If there's a BOTO_PATH variable set, we use anything there
# as the current configuration locations, split with colons
# as the current configuration locations, split with os.pathsep.
elif 'BOTO_PATH' in os.environ:
BotoConfigLocations = []
for path in os.environ['BOTO_PATH'].split(":"):
for path in os.environ['BOTO_PATH'].split(os.pathsep):
BotoConfigLocations.append(expanduser(path))


Expand Down

0 comments on commit 7ba973e

Please sign in to comment.