# | Line 1 | Line 1 | |
---|---|---|
1 | # | |
2 | < | # i-scream central monitoring system |
2 | > | # i-scream pystatgrab |
3 | # http://www.i-scream.org | |
4 | # Copyright (C) 2000-2004 i-scream | |
5 | # | |
# | Line 437 | Line 437 | def py_get_page_stats_diff(): | |
437 | ) | |
438 | ||
439 | def py_statgrab_init(): | |
440 | < | return statgrab_init() |
440 | > | if statgrab_init() == 0: |
441 | > | return True |
442 | > | else: |
443 | > | return False |
444 | ||
445 | def py_statgrab_drop_privileges(): | |
446 | < | return statgrab_drop_privileges() |
446 | > | if statgrab_drop_privileges() == 0: |
447 | > | return True |
448 | > | else: |
449 | > | return False |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |