From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/rpackage/, roverlay/recipe/, roverlay/util/
Date: Wed, 18 Feb 2015 02:19:17 +0000 (UTC) [thread overview]
Message-ID: <1424225816.815bc74db18c14807ea4098babeb0253f331bab3.dywi@gentoo> (raw)
commit: 815bc74db18c14807ea4098babeb0253f331bab3
Author: André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Wed Feb 18 02:16:56 2015 +0000
Commit: André Erdmann <dywi <AT> mailerd <DOT> 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
reply other threads:[~2015-02-18 2:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424225816.815bc74db18c14807ea4098babeb0253f331bab3.dywi@gentoo \
--to=dywi@mailerd.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox