diff options
| author | Raphaël Beamonte <raphael.beamonte@gmail.com> | 2012-11-21 18:22:11 -0500 |
|---|---|---|
| committer | Clark Williams <williams@redhat.com> | 2012-11-29 15:41:52 -0600 |
| commit | 2bdb51986aacd5c42bd74719e178eaaa71697d86 (patch) | |
| tree | 9cf312eab31061808722f86afe95813d404aef8d /server/sql | |
| parent | 4090f302f28f7f0d63cc9439d03a6fad7af5bc87 (diff) | |
| download | rteval-2bdb51986aacd5c42bd74719e178eaaa71697d86.tar.gz rteval-2bdb51986aacd5c42bd74719e178eaaa71697d86.tar.xz rteval-2bdb51986aacd5c42bd74719e178eaaa71697d86.zip | |
Changes the getcmdpath method to use only python calls to find the paths
In my previous patches, I introduced a getcmdpath method which intended
to replace the direct calls to binary from clear paths, using the which
binary to locate the place of the searched one. This behavior was in
fact not the finest as the method itself used the full path to the which
binary. In this patch, I corrected the getcmdpath command to use only
python calls (os.path.isfile and os.access) to identify in the PATH
environment variable the place where the binary is.
Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: Clark Williams <williams@redhat.com>
Diffstat (limited to 'server/sql')
0 files changed, 0 insertions, 0 deletions
