Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1941: utils.patch

File utils.patch, 412 bytes (added by jbinney, 3 years ago)
  • .py

    old new  
    2121    s = resp.read() 
    2222    conn.close() 
    2323 
    24     match = re.compile('<textarea name=q.*?>(.*?)</textarea>', 
     24    match = re.compile('<textarea name=utrans.*?>(.*?)</textarea>', 
    2525                       re.DOTALL).search(s) 
    2626    data = match.groups()[0] 
    2727    return unicode(data, "utf-8").strip()