diff options
author | Sandro Cazzaniga <kharec@mageia.org> | 2013-07-07 09:53:23 +0000 |
---|---|---|
committer | Sandro Cazzaniga <kharec@mageia.org> | 2013-07-07 09:53:23 +0000 |
commit | bbe670aaa57f642352f4706b454627a2226b04b7 (patch) | |
tree | a24eab7cb25ad795757afec0366f2d21d21ddd04 | |
parent | fde6e73e6f7b3869fbf2594d23049f5b77efa3c4 (diff) | |
download | msec-bbe670aaa57f642352f4706b454627a2226b04b7.tar msec-bbe670aaa57f642352f4706b454627a2226b04b7.tar.gz msec-bbe670aaa57f642352f4706b454627a2226b04b7.tar.bz2 msec-bbe670aaa57f642352f4706b454627a2226b04b7.tar.xz msec-bbe670aaa57f642352f4706b454627a2226b04b7.zip |
Return False if it's not a link
-rwxr-xr-x | src/msec/libmsec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py index 772865b..d803f79 100755 --- a/src/msec/libmsec.py +++ b/src/msec/libmsec.py @@ -363,7 +363,7 @@ class ConfigFile: if stat.S_ISLNK(full[stat.ST_MODE]): link = os.readlink(self.path) else: - link = None + link = False return link def write(self): |