Bedre variabelnavn
This commit is contained in:
14
mtrlog.py
14
mtrlog.py
@@ -23,13 +23,13 @@ class MtrLogFormatter:
|
||||
'"%s"' % datetime_extracted.strftime('%d.%m.%y %H:%M:%S.000'))
|
||||
log_line.append(
|
||||
'"%02d.%02d.%02d %02d:%02d:%02d.%03d"' % (
|
||||
msg.timestamp_day(),
|
||||
msg.timestamp_month(),
|
||||
msg.timestamp_year(),
|
||||
msg.timestamp_hours(),
|
||||
msg.timestamp_minutes(),
|
||||
msg.timestamp_seconds(),
|
||||
msg.timestamp_milliseconds()))
|
||||
msg.day(),
|
||||
msg.month(),
|
||||
msg.year(),
|
||||
msg.hours(),
|
||||
msg.minutes(),
|
||||
msg.seconds(),
|
||||
msg.milliseconds()))
|
||||
log_line.append('%06d' % msg.card_id())
|
||||
log_line.append('%04d' % 0) # skipped product week
|
||||
log_line.append('%04d' % 0) # skipped product year
|
||||
|
||||
Reference in New Issue
Block a user