diff options
author | Frederic Lepied <flepied@mandriva.com> | 2005-08-12 07:20:31 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2005-08-12 07:20:31 +0000 |
commit | 399e4cc32a7de40cc7a71aed35085b95e2b7b373 (patch) | |
tree | 133cdc0d39351bb129f973a7f4f0ab9cc6f1a452 /share | |
parent | 77eaacfa7519fc22d0ed935a0fd3ac86c86a2dd2 (diff) | |
download | msec-399e4cc32a7de40cc7a71aed35085b95e2b7b373.tar msec-399e4cc32a7de40cc7a71aed35085b95e2b7b373.tar.gz msec-399e4cc32a7de40cc7a71aed35085b95e2b7b373.tar.bz2 msec-399e4cc32a7de40cc7a71aed35085b95e2b7b373.tar.xz msec-399e4cc32a7de40cc7a71aed35085b95e2b7b373.zip |
password_aging: never means -1
Diffstat (limited to 'share')
-rw-r--r-- | share/libmsec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/libmsec.py b/share/libmsec.py index 2486089..d845bc9 100644 --- a/share/libmsec.py +++ b/share/libmsec.py @@ -1245,7 +1245,7 @@ def password_aging(max, inactive=-1): if res and res2: current_max = int(res.group(1)) if res2.group(2) == 'never': - current_inactive = 99999 + current_inactive = -1 else: current_inactive = int(res2.group(2)) new_max = max |