Patchwork [STABLE] infinitepush: remove unused import to tempfile

login
register
mail settings
Submitter Pierre-Yves David
Date July 23, 2020, 3:36 p.m.
Message ID <acddde2f20acc7a8ae10.1595518595@nodosa.octobus.net>
Download mbox | patch
Permalink /patch/46845/
State Accepted
Headers show

Comments

Pierre-Yves David - July 23, 2020, 3:36 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1595518329 -7200
#      Thu Jul 23 17:32:09 2020 +0200
# Branch stable
# Node ID acddde2f20acc7a8ae10f24e920355d6aa6874ff
# Parent  fc54f52779dd6c9523e9cc4de8a6e61e62e75bd8
# EXP-Topic fix-pyflake
# Available At https://foss.heptapod.net/octobus/mercurial-devel/
#              hg pull https://foss.heptapod.net/octobus/mercurial-devel/ -r acddde2f20ac
infinitepush: remove unused import to tempfile

Spotted by test-check-pyflakes.t
Yuya Nishihara - July 24, 2020, 3:14 a.m.
On Thu, 23 Jul 2020 17:36:35 +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@octobus.net>
> # Date 1595518329 -7200
> #      Thu Jul 23 17:32:09 2020 +0200
> # Branch stable
> # Node ID acddde2f20acc7a8ae10f24e920355d6aa6874ff
> # Parent  fc54f52779dd6c9523e9cc4de8a6e61e62e75bd8
> # EXP-Topic fix-pyflake
> # Available At https://foss.heptapod.net/octobus/mercurial-devel/
> #              hg pull https://foss.heptapod.net/octobus/mercurial-devel/ -r acddde2f20ac
> infinitepush: remove unused import to tempfile

Queued for stable, thanks.

Patch

diff --git a/hgext/infinitepush/store.py b/hgext/infinitepush/store.py
--- a/hgext/infinitepush/store.py
+++ b/hgext/infinitepush/store.py
@@ -8,7 +8,6 @@  from __future__ import absolute_import
 import abc
 import os
 import subprocess
-import tempfile
 
 from mercurial.pycompat import open
 from mercurial import (