Closed GoogleCodeExporter closed 9 years ago
При открывании файла лога в текстовых редакторах они посылают на три веселых из-за длинной строки. да и просто удобней работать с логами в таком виде. Предлагаю такое решение diff -i -B -b --suppress-common-lines -r -N -x settings -x '*.pyc' -x log -x logs -x .svn -x update.log -x '*.txt' -x poke.txt.back -x backup -x '*.pid' -x tld /home/neutron/isida/plugins/logger.py /home/user/isida/plugins/logger.py 14,15c14 < log_header ='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title> \n' < msg_end='\n' --- > log_header ='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>' 55d53 < fl.write(msg_end.encode('utf-8')) 59d56 < fl.write(msg_end.encode('utf-8')) 125d121 < fl.write(msg_end.encode('utf-8')) 129d124 < fl.write(msg_end.encode('utf-8'))
Original issue reported on code.google.com by fangel....@gmail.com on 24 Oct 2009 at 6:32
fangel....@gmail.com
Не нашел где тип меняется. Извините за мой первый раз
Original comment by fangel....@gmail.com on 24 Oct 2009 at 6:34
Original comment by a.gorelow on 25 Oct 2009 at 9:05
a.gorelow
Original issue reported on code.google.com by
fangel....@gmail.com
on 24 Oct 2009 at 6:32