From patchwork Thu Jul 5 20:28:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jelle van der Waa X-Patchwork-Id: 674 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 0C91E5476139 for ; Thu, 5 Jul 2018 20:28:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED=0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,T_DKIM_INVALID=1 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: [127.0.9.2] [127.0.0.11] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:46 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 2B143BB0BA924; Thu, 5 Jul 2018 20:28:42 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Thu, 5 Jul 2018 20:28:41 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id C472C2C66F; Thu, 5 Jul 2018 20:28:41 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdwaa-nl.20150623.gappssmtp.com header.i=@vdwaa-nl.20150623.gappssmtp.com header.b=Y7ly2hfr Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 6AB382C52E for ; Thu, 5 Jul 2018 20:28:40 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:40 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 6AED6BB0BA917 for ; Thu, 5 Jul 2018 20:28:39 +0000 (UTC) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:39 +0000 (UTC) Received: by mail-ed1-x534.google.com with SMTP id r17-v6so7070637edo.13 for ; Thu, 05 Jul 2018 13:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdwaa-nl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Lmr2MOVIRg6yFIDhk3Fkugy4jB65ijZdVTOIFRXPyVs=; b=Y7ly2hfr4YtOl98GBd41pWvQpyWyF8n1jSnh3yH0gL6NoDTLjPVfz8JfN1F6rhNc6k y/s1y4q2mry8DqIoDsfz3znAVn1wkMQLHTmfuOPorlkZY28DAjPMygjl/ZpshzspDZxu BiV5Y/H/Bl44MJw7GzbukLmW5wjgnBcmj3HQgcqSAlzr81pNXFYsCs5x4JjhsLMWuI5j ZMXS8rLus0kK2hHIKtoNgk3Xl0kNp+DOHs6uxL5SofICF5kcvpoof12S1xL9LuKGwxkX W8josA1J0ZD3Ad3onuJuuP/KOySvNxZyJ/FanlUid6EIUjh4R1Yta/iyd1k95vlvXpqh T9sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Lmr2MOVIRg6yFIDhk3Fkugy4jB65ijZdVTOIFRXPyVs=; b=OeI/Spru4UnS9UyfU6WpBoNcbWdNa+5tevT9RVKj1fv0gltrcWA9qOMYEHr2UukfVE EUj0IUOOmhKs+h+JGubRHcgA68qC88L1XKfesWEsMMfSQYlpNcfli3reL7Yzvh+dwWww xD9cv2r5NBnQIsc1iVJ2Jhlld8tRfpAIcVXtkV1RirIwcTyP1cIzuumovOdRaKjzWaf+ rxEZeYMA0xze3uRR1Cc26w4TVz90PLYDMb/t/AKZ8yu2WYFBpPam9mqyODxiJ2MJNdvK Knb3rd3Z6PyDgS22mjnOV4A7z+grxTySI16JUhHBvVMvUQi6dyKrzTwc26J4BHuXrUSC oMVQ== X-Gm-Message-State: APt69E0Pf3StajtkaW3VZTGI5swB9TWPJE5QGrqmZiStcT/p5/RYz9WG 6Ha8KVB8XgQR75CPNimPd7IZxSvk4zk= X-Google-Smtp-Source: AAOMgpdZRUvT+cwbbdfVhR0xUif0TmvH7MQ7+vz+22n9pc6iy+DZAChIzZ1uSkGRCn4CKvexgQONfw== X-Received: by 2002:a50:b306:: with SMTP id q6-v6mr7836497edd.264.1530822518857; Thu, 05 Jul 2018 13:28:38 -0700 (PDT) Received: from localhost (53541122.cm-6-5a.dynamic.ziggo.nl. [83.84.17.34]) by smtp.gmail.com with ESMTPSA id h2-v6sm8377443edl.77.2018.07.05.13.28.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 13:28:37 -0700 (PDT) From: Jelle van der Waa To: arch-projects@archlinux.org Date: Thu, 5 Jul 2018 22:28:30 +0200 Message-Id: <20180705202831.3704-3-jelle@vdwaa.nl> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180705202831.3704-1-jelle@vdwaa.nl> References: <20180705202831.3704-1-jelle@vdwaa.nl> Subject: [arch-projects] [namcap][PATCH 2/3] util: remove unused clean_filename X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Arch Linux projects development discussion Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" By removing the unused imports for clean_filename this function is now unused. --- Namcap/util.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Namcap/util.py b/Namcap/util.py index 68e3878..ecf8b44 100644 --- a/Namcap/util.py +++ b/Namcap/util.py @@ -60,6 +60,4 @@ def script_type(fileobj): name = cmd[1] return name -clean_filename = lambda s: re.search(r"/tmp/namcap\.[0-9]*/(.*)", s).group(1) - # vim: set ts=4 sw=4 noet: