Skip to content

Commit

Permalink
Fixing build (make sure regex format checks for end of line in log im…
Browse files Browse the repository at this point in the history
…port script).
  • Loading branch information
diosmosis committed Feb 27, 2013
1 parent 28a579b commit d6a65a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/log-analytics/import_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d6a65a6

Please sign in to comment.