forked from pool/mcelog
69342a5d53
- Update to version 181: * mcelog: Add support for Raptorlake - Adopt patches to latest git version M Start-consolidating-AMD-specific-stuff.patch M add-f10h-support.patch M add-f11h-support.patch M add-f12h-support.patch M add-f14h-support.patch M add-f15h-support.patch M add-f16h-support.patch M email.patch M fix_setgroups_missing_call.patch M mcelog_invert_prefill_db_warning.patch - Use Python3 shebang instead of python A python3_shebang - Use Github URL - Update to version 180: * Fix warnings in sysfs.c * mcelog: Change "DDR4" string to "DDR" for i10nm platforms * Fix logrotate syntax * remove outdated mcelog.conf.5 manual file * add furture print function for Python2 * fix python errors in genconfig.py * fix the buf not freed in read_field * mcelog: Print warning for locked down kernel * mcelog: Handle sysfs files without length * Fix make test fail OBS-URL: https://build.opensuse.org/request/show/974669 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=99
14 lines
395 B
Plaintext
14 lines
395 B
Plaintext
Index: mcelog-181/genconfig.py
|
|
===================================================================
|
|
--- mcelog-181.orig/genconfig.py
|
|
+++ mcelog-181/genconfig.py
|
|
@@ -1,7 +1,6 @@
|
|
-#!/usr/bin/python
|
|
+#!/usr/bin/python3
|
|
# generate man config documentation from mcelog.conf example
|
|
# genconfig.py mcelog.conf intro.html
|
|
-from __future__ import print_function
|
|
import sys
|
|
import re
|
|
import argparse
|