Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authordiosmosis <benaka.moorthi@gmail.com>2013-02-27 05:02:46 +0400
committerdiosmosis <benaka.moorthi@gmail.com>2013-02-27 05:02:46 +0400
commitd6a65a6de2ed0755b742e88e1313468695034a1d (patch)
tree6b47ee316e330a3105f768a7ae8019da2fc7a5d7 /misc
parent28a579badc074e03f15fc2ed74bc59f9f6991c8d (diff)
Fixing build (make sure regex format checks for end of line in log import script).
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/log-analytics/import_logs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py
index dbcea64735..b48fe9b4a9 100755
--- a/misc/log-analytics/import_logs.py
+++ b/misc/log-analytics/import_logs.py
@@ -105,7 +105,7 @@ class RegexFormat(object):
def __init__(self, name, regex, date_format='%d/%b/%Y:%H:%M:%S'):
self.name = name
- self.regex = re.compile(regex)
+ self.regex = re.compile(regex + '\s*$') # make sure regex includes end of line
self.date_format = date_format
def check_format(self, file):