Skip to content

Commit

Permalink
yum-cron: override the default stdout codec. BZ 992797
Browse files Browse the repository at this point in the history
  • Loading branch information
Zdenek Pavlas committed Aug 5, 2013
1 parent bba27df commit 17a375f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yum-cron/yum-cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import smtplib
from random import random
from time import sleep
from yum.misc import setup_locale

# FIXME: is it really sane to use this from here?
sys.path.append('/usr/share/yum-cli')
Expand Down Expand Up @@ -1110,6 +1111,7 @@ def emitMessages(self):

def main():
"""Configure and run the update check."""
setup_locale(override_time=True)
# If a file name was passed in, use it as the config file name.
base = None
if len(sys.argv) > 1:
Expand Down

0 comments on commit 17a375f

Please sign in to comment.