diff options
author | André Erdmann <dywi@mailerd.de> | 2015-02-18 03:16:56 +0100 |
---|---|---|
committer | André Erdmann <dywi@mailerd.de> | 2015-02-18 03:16:56 +0100 |
commit | 815bc74db18c14807ea4098babeb0253f331bab3 (patch) | |
tree | f3cb4d9761dbdbbf2a94b02421d0a01c82a0a978 | |
parent | fix 8647dac1ec5ad63cd44a8dfc121b8b0942b688ad (diff) | |
download | R_overlay-815bc74db18c14807ea4098babeb0253f331bab3.tar.gz R_overlay-815bc74db18c14807ea4098babeb0253f331bab3.tar.bz2 R_overlay-815bc74db18c14807ea4098babeb0253f331bab3.zip |
minor cleanup
* remove redundant imports
* add DISTMAP=None to recipe/distmap to make pylint happy
(setup() must be called before access())
-rw-r--r-- | roverlay/recipe/distmap.py | 2 | ||||
-rw-r--r-- | roverlay/rpackage/descriptionreader.py | 1 | ||||
-rw-r--r-- | 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 |