Skip to content

Instantly share code, notes, and snippets.

@scop
Created July 10, 2015 06:58
Show Gist options
  • Save scop/177087a6c505f3ada7fb to your computer and use it in GitHub Desktop.
Save scop/177087a6c505f3ada7fb to your computer and use it in GitHub Desktop.
--- rpmlint.py
+++ rpmlint.py
@@ -16,6 +16,7 @@ import Pkg
import Config
import os
import stat
+import locale
import rpm
from Filter import *
import SpecCheck
@@ -42,6 +43,8 @@ def loadCheck(name):
# main program
#############################################################################
def main():
+
+ locale.setlocale(locale.LC_ALL, '')
# Load all the tests
for c in Config.allChecks():
loadCheck(c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment