diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-02-08 21:17:24 -0500 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-02-08 21:17:24 -0500 |
commit | 57f5accd78d2819bc7c26d8248419aafb0d13855 (patch) | |
tree | 4aa3d5ae3f791e6df2282e06205faadd3fc36c34 /tests/silo_test.py | |
parent | 7822ed1d829aa34fe9c92de24f1f68042b05ed64 (diff) |
[bugfix]: combox/config.py - when empty string is given for 'silo_dir'; it sets the dir to PWD, this was not intended. This was fixed.
When empty string is given for 'silo_dir', the intended default
directory was the combox's config directory.
The input to 'silo_dir' was directly given to path.abspath()
The path.abspath() function, when an empty string is given returns the
PWD. That's where the bug was!
So, now the 'silo_dir' input is read to a local variable
`silo_dir'. If the local variable `silo_dir' is empty, the combox
config directory is assigned; else, the given directory is assigned.
Diffstat (limited to 'tests/silo_test.py')
0 files changed, 0 insertions, 0 deletions