From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6A78D138A1A for ; Wed, 18 Feb 2015 02:19:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC9B3E08E5; Wed, 18 Feb 2015 02:19:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63341E08E5 for ; Wed, 18 Feb 2015 02:19:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D94F3406EB for ; Wed, 18 Feb 2015 02:19:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B6B411FE7 for ; Wed, 18 Feb 2015 02:19:17 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1424225816.815bc74db18c14807ea4098babeb0253f331bab3.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/rpackage/, roverlay/recipe/, roverlay/util/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/recipe/distmap.py roverlay/rpackage/descriptionreader.py roverlay/util/ebuildparser.py X-VCS-Directories: roverlay/util/ roverlay/rpackage/ roverlay/recipe/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 815bc74db18c14807ea4098babeb0253f331bab3 X-VCS-Branch: master Date: Wed, 18 Feb 2015 02:19:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2e34cbc3-d1e1-4bb8-880c-a8e9b9ccdda1 X-Archives-Hash: 1c66c59e1393fa87d6f3f5bd400128a1 commit: 815bc74db18c14807ea4098babeb0253f331bab3 Author: André Erdmann mailerd de> AuthorDate: Wed Feb 18 02:16:56 2015 +0000 Commit: André Erdmann mailerd de> CommitDate: Wed Feb 18 02:16:56 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=815bc74d minor cleanup * remove redundant imports * add DISTMAP=None to recipe/distmap to make pylint happy (setup() must be called before access()) --- roverlay/recipe/distmap.py | 2 ++ roverlay/rpackage/descriptionreader.py | 1 - roverlay/util/ebuildparser.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roverlay/recipe/distmap.py b/roverlay/recipe/distmap.py index 27a67bf..a36865f 100644 --- a/roverlay/recipe/distmap.py +++ b/roverlay/recipe/distmap.py @@ -11,6 +11,8 @@ import roverlay.db.distmap __all__ = [ 'access', ] +DISTMAP = None + def setup(): """Creates the static distmap instance.""" global DISTMAP diff --git a/roverlay/rpackage/descriptionreader.py b/roverlay/rpackage/descriptionreader.py index d5db52b..6298f29 100644 --- a/roverlay/rpackage/descriptionreader.py +++ b/roverlay/rpackage/descriptionreader.py @@ -13,7 +13,6 @@ import string import re import sys import tarfile -import os.path import time import logging diff --git a/roverlay/util/ebuildparser.py b/roverlay/util/ebuildparser.py index e3b926c..73ed517 100644 --- a/roverlay/util/ebuildparser.py +++ b/roverlay/util/ebuildparser.py @@ -311,7 +311,6 @@ class SrcUriParser ( EbuildParser ): if __name__ == '__main__': - import os import sys get_basename = os.path.basename