Submitter | Yuya Nishihara |
---|---|
Date | May 14, 2016, 7:33 a.m. |
Message ID | <dee34c1b65263e84a841.1463211230@mimosa> |
Download | mbox | patch |
Permalink | /patch/15112/ |
State | Accepted |
Headers | show
Return-Path: <mercurial-devel-bounces@mercurial-scm.org> X-Original-To: patchwork@patchwork.serpentine.com Delivered-To: patchwork@patchwork.serpentine.com Received: from mercurial.selenic.com (mercurial-scm.org [192.81.134.36]) by bz.selenic.com (Postfix) with ESMTP id E0E013BBC9 for <patchwork@patchwork.serpentine.com>; Sat, 14 May 2016 03:34:28 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mercurial.selenic.com (Postfix) with ESMTP id C77D12C163; Sat, 14 May 2016 03:34:26 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial.selenic.com ([127.0.0.1]) by localhost (mercurial.selenic.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3wEzqevuMGpY; Sat, 14 May 2016 03:34:26 -0400 (EDT) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial.selenic.com (Postfix) with ESMTP id 486552C15A; Sat, 14 May 2016 03:34:24 -0400 (EDT) X-Original-To: mercurial-devel@mercurial-scm.org Delivered-To: mercurial-devel@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial.selenic.com (Postfix) with ESMTP id 416452C149 for <mercurial-devel@mercurial-scm.org>; Sat, 14 May 2016 03:34:22 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial.selenic.com ([127.0.0.1]) by localhost (mercurial.selenic.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mKc-ditLuJiT for <mercurial-devel@mercurial-scm.org>; Sat, 14 May 2016 03:34:21 -0400 (EDT) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) by mercurial.selenic.com (Postfix) with ESMTPS id 77AFD2C102 for <mercurial-devel@mercurial-scm.org>; Sat, 14 May 2016 03:34:00 -0400 (EDT) Received: by mail-pa0-x22b.google.com with SMTP id bt5so47539365pac.3 for <mercurial-devel@mercurial-scm.org>; Sat, 14 May 2016 00:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:mime-version:content-transfer-encoding:subject:message-id :in-reply-to:references:user-agent:date:from:to; bh=trohqCpwj8S5gsLU9WO8O7pIUp4A/e8sWxExfqpBHLY=; b=f6424Wh/+GVZMjbxWtybw8rWm4hDQ+6VHtgrPdABy3lFhOti3ddt4cnB+mMWUDgcqc HU2JvAPSQ6J7Jfu7zdEv/t7HMuHfeqC2Nz3Ht+06OhubSX2PiCEggGTV3oa2La4OwwWR EFLt5DG4lyELwpGQW9uD/dorN8lMCnO8Y/kjg9GUADKM9DlsOeBpzkKi7gaxG2F4DnI7 5EuBmGEXpOy+yPaCKCH/4Y/OEvyB0phhhEZ9MHdiJaWUSq5PA+WISlqFbL6CuP1V4Xik gYotJ8uvZUIVGEbAx1yl7HOslP92R/9FmPlBsDbtfl1sWWEzsWzUOLiFwmkw8cUFmiBc uWHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:mime-version:content-transfer-encoding :subject:message-id:in-reply-to:references:user-agent:date:from:to; bh=trohqCpwj8S5gsLU9WO8O7pIUp4A/e8sWxExfqpBHLY=; b=UrZkr6QF+YAE0b6CkFiOJglersfVCSzzcYEokd2b2QWMJEVguaI4pFfG+vS8g1G5Pc e7BWrivvZwozKtl3ino+oS97iVDSjCbNt5rpCAI/lwmSvyF2MNkMA4deVxUZzwosAI4M GsHja7K/I3p6cjVjbCTZ0efly4qVUNnPIvzIiJGownps9jKBVasLIErcab3jctKT3fPk Zcf4pyHroMI1caSmX+fWobl/s+msOso6JzAGp7IVokuZb88S+1xAFVdce2qWJILaOeSe zxCRUYcR7p7Q9YFZu7O+9Gi2413ZDHWHZBVdOmzpDl682HPOPQ/2AfttX4pMtcs6aFAS M74A== X-Gm-Message-State: AOPr4FWLmXNZY6MlTWwQH6UsY1vw1qR8Cqsd+s9ALNzLpvd/h8wL79/m2g+zn0/a3lEoEw== X-Received: by 10.66.132.72 with SMTP id os8mr29352409pab.63.1463211239763; Sat, 14 May 2016 00:33:59 -0700 (PDT) Received: from [127.0.1.1] (p6e42243b.tkyea104.ap.so-net.ne.jp. [110.66.36.59]) by smtp.gmail.com with ESMTPSA id 5sm32229316pfn.46.2016.05.14.00.33.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 May 2016 00:33:58 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH 5 of 8] py3: make contrib/bdiff-torture.py conform to our import style X-Mercurial-Node: dee34c1b65263e84a8417125ceda3831a76c83ce X-Mercurial-Series-Index: 5 X-Mercurial-Series-Total: 8 Message-Id: <dee34c1b65263e84a841.1463211230@mimosa> X-Mercurial-Series-Id: <c6077c18cb48e59dcbf5.1463211226@mimosa> In-Reply-To: <c6077c18cb48e59dcbf5.1463211226@mimosa> References: <c6077c18cb48e59dcbf5.1463211226@mimosa> User-Agent: Mercurial-patchbomb/3.8.1+65-660d8d4ec7aa Date: Sat, 14 May 2016 16:33:50 +0900 From: Yuya Nishihara <yuya@tcha.org> To: mercurial-devel@mercurial-scm.org X-BeenThere: mercurial-devel@mercurial-scm.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.mercurial-scm.org> List-Unsubscribe: <https://www.mercurial-scm.org/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=unsubscribe> List-Archive: <http://www.mercurial-scm.org/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@mercurial-scm.org> List-Help: <mailto:mercurial-devel-request@mercurial-scm.org?subject=help> List-Subscribe: <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@mercurial-scm.org Sender: "Mercurial-devel" <mercurial-devel-bounces@mercurial-scm.org> |
Comments
Yuya Nishihara - May 14, 2016, 7:33 a.m.
Patch
diff --git a/contrib/bdiff-torture.py b/contrib/bdiff-torture.py --- a/contrib/bdiff-torture.py +++ b/contrib/bdiff-torture.py @@ -1,7 +1,9 @@ # Randomized torture test generation for bdiff from __future__ import absolute_import, print_function -import random, sys +import random +import sys + from mercurial import ( bdiff, mpatch,