Codebase list gcalcli / 4845fd2
BF: using patch from http://www.freebsd.org/cgi/query-pr.cgi?pr=125327. (Closes: #504812) Yaroslav Halchenko 14 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
194194 def PrintErrMsg(msg):
195195 if CLR.useColor:
196196 sys.stdout.write(str(CLR_BRRED()))
197 sys.stdout.write(msg)
197 sys.stdout.write(unicode(msg, 'UTF-8'))
198198 sys.stdout.write(str(CLR_NRM()))
199199 else:
200 sys.stdout.write(msg)
200 sys.stdout.write(unicode(msg, 'UTF-8'))
201201
202202
203203 def PrintMsg(color, msg):
204204 if CLR.useColor:
205205 sys.stdout.write(str(color))
206 sys.stdout.write(msg)
206 sys.stdout.write(unicode(msg, 'UTF-8'))
207207 sys.stdout.write(str(CLR_NRM()))
208208 else:
209 sys.stdout.write(msg)
209 sys.stdout.write(unicode(msg, 'UTF-8'))
210210
211211
212212 def DebugPrint(msg):
213213 return
214214 sys.stdout.write(str(CLR_YLW()))
215 sys.stdout.write(msg)
215 sys.stdout.write(unicode(msg, 'UTF-8'))
216216 sys.stdout.write(str(CLR_NRM()))
217217
218218