Created
July 10, 2015 06:58
-
-
Save scop/177087a6c505f3ada7fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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