diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-20 13:56:23 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-20 13:56:23 +0100 |
commit | 6d3247b5c02c39a66666a5833106dbc23044e436 (patch) | |
tree | ead0084a4acace4198aafecacb58cb76c9fd7c26 | |
parent | 97b4f8d66bef2328fa53f9e508eb38f8b8d49632 (diff) | |
download | ceph-6d3247b5c02c39a66666a5833106dbc23044e436.tar.gz |
ceph-disk: there is no os.path.lstat use os.lstat
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rwxr-xr-x | src/ceph-disk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ceph-disk b/src/ceph-disk index f4137007550..f7a478f9efd 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -743,7 +743,7 @@ def adjust_symlink(target, path): create = True if os.path.lexists(path): try: - mode = os.path.lstat(canonical).st_mode + mode = os.lstat(canonical).st_mode if stat.S_ISREG(mode): log.debug('Removing old file %s', canonical) os.unlink(canonical) |