Skip to content

Commit

Permalink
default encoding problem in ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
oluies committed Mar 24, 2016
1 parent ab070eb commit 84a6e37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/scripts/master.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# encoding=utf8

import sys, os, pwd, grp, signal, time, glob
from resource_management import *
from subprocess import call

reload(sys)
sys.setdefaultencoding('utf8')

class Master(Script):
def install(self, env):

Expand Down

0 comments on commit 84a6e37

Please sign in to comment.