mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
fix long string line
This commit is contained in:
parent
722d460914
commit
4098d7fcbe
1 changed files with 3 additions and 2 deletions
|
@ -11,8 +11,9 @@ import sys
|
|||
import time
|
||||
|
||||
LOGFILE = "/var/log/nginx/melpa/melpa.access.log"
|
||||
LOGREGEX = r'(?P<ip>[\d.]+) [ -]+ \[(?P<date>[\w/: -]+)\] \
|
||||
"GET /packages/(?P<package>[^ ]+)-[0-9.]+.(?:el|tar) HTTP/\d.\d" 200'
|
||||
LOGREGEX = r'(?P<ip>[\d.]+) [ -]+ \[(?P<date>[\w/: -]+)\] ' \
|
||||
r'"GET /packages/(?P<package>[^ ]+)-[0-9.]+.(?:el|tar) ' \
|
||||
r'HTTP/\d.\d" 200'
|
||||
|
||||
|
||||
def json_handler(obj):
|
||||
|
|
Loading…
Reference in a new issue