From vskytta@gmail.com Sat Mar 25 22:28:07 2017 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW autolearn=ham autolearn_force=no version=3.4.0 X-Mailer: git-send-email 2.9.3 Message-ID: <20170325222800.11372-1-ville.skytta@iki.fi> X-Received: by 10.25.43.205 with SMTP id r196mr6837624lfr.116.1490480882224; Sat, 25 Mar 2017 15:28:02 -0700 (PDT) Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) by bugs.isc.org (Postfix) with ESMTP id 5257771B5A8 for ; Sat, 25 Mar 2017 22:28:07 +0000 (UTC) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id 5CFF8349598 for ; Sat, 25 Mar 2017 22:28:04 +0000 (UTC) Received: by mail-lf0-x236.google.com with SMTP id h125so7215754lfe.0 for ; Sat, 25 Mar 2017 15:28:04 -0700 (PDT) Received: from viper.dy.fi.fi (dyj2pwyfms1vplms9kf0t-3.rev.dnainternet.fi. [2001:14ba:1ec:c900:8a7d:62c4:a9fd:413d]) by smtp.gmail.com with ESMTPSA id h18sm1128196ljh.5.2017.03.25.15.28.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Mar 2017 15:28:01 -0700 (PDT) Delivered-To: bind9-bugs@bugs.isc.org Subject: [PATCH] Python 3.6 invalid escape sequence deprecation fix Return-Path: X-Original-To: bind9-bugs@bugs.isc.org Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id; bh=HCyoGdpScYKmfBKb6NuhUPrXnNnRpjf8UbJsvk5hkbY=; b=DWeHYD8XsAchlr9Yc7WA6/T0/rqt8nsEDU7jM5mmaah7FpMLlZ7dMY1JCvrG1DIHmg fGpD25XHqwCWjnX3mkiJc/bVzP3C7OpvSmDCPXQP1GU10P9AQUhYXJNl4vIYkIOYihmA VJmiTi8LA1aKgTYjt/qHztntDbVw708/EsUrDFyA6r8CiHs+t4qeUHfYWeCEZkYrfXnL FtIrLmK0SCq2JjiVTs85Rojb7T0WeuOKWXQ1Zyu8EvuLryY7QyL0Rx5J0pDNntDMZJMu CoyHM+coH+sczu5G5UaO6BJuTfno6w76bB0n4ViLPdOaKCxL+4KA1XZsVpMxpFdZ0L8j SwFA== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=HCyoGdpScYKmfBKb6NuhUPrXnNnRpjf8UbJsvk5hkbY=; b=NVcWwIrCNa8n944R5ljH9Esb8NJFiG99vY7vfq801v68HmQ6CpRfNPx2ksJGK6PjyD TBwLn6s1KePJhCXQLvjoYDLrbWCJ3zfw/JmLDUJaPVeZdn//SAAV2+ZG+9TbAaVLk+cq kpdqGjmbOwzqZ1JgqkJubJU5AADnZIVyDv9/CV5u4SPOe5aDswmdcQDP8tdAv7164J3K F+Kq6IPV19YhuA+cScniTUWlwBpW/tUHdB1XDJKKPU//OKwZZNe++tp4XxLauBtQ74u1 LY8N48HL6IEM2t7YvsXbuq4NMvmD6oUYmFIwSfmNrZf9Esn4ptZnhe9xwTqAwQJQ6dst h7SQ== Sender: "Ville Skytt?" Date: Sun, 26 Mar 2017 00:28:00 +0200 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org To: bind-bugs@isc.org X-GM-Message-State: AFeK/H2UvlkPufWF0BNKGeXMstTAV+GQ9LY679dsK7rzyACJeI9bEpnixgUwo6sLDhdraA== From: "Ville Skytt?" X-RT-Original-Encoding: ascii content-type: text/plain; charset="utf-8" X-RT-Interface: Email Content-Length: 660 https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior --- bin/python/isc/coverage.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/python/isc/coverage.py.in b/bin/python/isc/coverage.py.in index 00eb9e0..9d06b9c 100644 --- a/bin/python/isc/coverage.py.in +++ b/bin/python/isc/coverage.py.in @@ -73,7 +73,7 @@ def parse_time(s): pass # try to parse as a number with a suffix indicating unit of time - r = re.compile('([0-9][0-9]*)\s*([A-Za-z]*)') + r = re.compile(r'([0-9][0-9]*)\s*([A-Za-z]*)') m = r.match(s) if not m: raise ValueError("Cannot parse %s" % s) -- 2.9.3