Projet

Général

Profil

Révision c6f88968

IDc6f88968d1a44c463aaeb9af77aba70cad860e7c
Parent 743395a6
Enfant 0253df6f

Ajouté par Lars Kruse il y a environ 5 ans

Improve perlpod formatting for multiple plugins

Escpecially the final marker ("=cut") was missing in these plugins.

Voir les différences:

plugins/znc/znc_logs.py
2 2
# -*- coding: utf-8 -*-
3 3
'''
4 4
=head1 NAME
5

  
5 6
znc_logs
6 7

  
7 8
=head1 DESCRIPTION
9

  
8 10
Shows lines/minute in today's znc-logs
9 11

  
10 12
=head2 CONFIGURATION
11
[znc_logs]
12
user znc # or any other user/group that can read the znclog-folder
13
group znc
14
env.logdir /var/lib/znc/moddata/log/ # path to the GLOBAL log-folder with a "/" at the end
15
env.expire 0    # Keep channel names forever  - OR -
16
env.expire 1    # Forget channel names from last run
13

  
14
 [znc_logs]
15
 user znc                              # or any other user/group that can read the znclog-folder
16
 group znc
17
 env.logdir /var/lib/znc/moddata/log/  # path to the GLOBAL log-folder with a "/" at the end
18
 env.expire 0                          # Keep channel names forever  - OR -
19
 env.expire 1                          # Forget channel names from last run
17 20

  
18 21
=head1 COPYRIGHT
19
GPL VERSION 3
22

  
23
GNU General Public License v3.0 only
24

  
25
SPDX-License-Identifier: GPL-3.0-only
20 26

  
21 27
=head1 AUTHOR
28

  
22 29
Thor77 <thor77[at]thor77.org>
30

  
31
=cut
23 32
'''
24 33
import json
25 34
import os, sys, time

Formats disponibles : Unified diff