|
From: | Hartmut Goebel |
Subject: | Re: [PATCH 8/8] gnu: python-dulwich: Fix tests. |
Date: | Wed, 18 Jan 2017 00:38:48 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
Am 17.01.2017 um 23:25 schrieb Danny Milosavljevic: > + ;(substitute* "dulwich/hooks.py" > + ; (("f[.]write[(]args[[]0[]][)]") > "f.write(args[0].encode('utf-8'))")) This is an interesting but quite unusual way to escape the special characters. I suggest using the more common type with back-slash, esp. since "[[]" and "[]]" are very hard to get. -- Regards Hartmut Goebel | Hartmut Goebel | address@hidden | | www.crazy-compilers.com | compilers which you thought are impossible |
[Prev in Thread] | Current Thread | [Next in Thread] |