aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2010-02-17 21:59:01 +0100
committerSebastian Pipping <sebastian@pipping.org>2010-02-17 22:41:11 +0100
commitc5064d16abd462db1c5a9c65cc69ce2a3bd2298e (patch)
tree649a06444339d01af42667dba1b261458a58f7d4
parentpylint: Fix bad indentation (diff)
downloadlayman-c5064d16abd462db1c5a9c65cc69ce2a3bd2298e.tar.gz
layman-c5064d16abd462db1c5a9c65cc69ce2a3bd2298e.tar.bz2
layman-c5064d16abd462db1c5a9c65cc69ce2a3bd2298e.zip
pylint: Resolve re-import
-rw-r--r--layman/action.py2
-rw-r--r--layman/dbbase.py2
-rw-r--r--layman/overlays/overlay.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/layman/action.py b/layman/action.py
index 7d4b53b..26cfc9f 100644
--- a/layman/action.py
+++ b/layman/action.py
@@ -560,7 +560,7 @@ class Actions:
#-------------------------------------------------------------------------------
if __name__ == '__main__':
- import doctest, sys
+ import doctest
# Ignore warnings here. We are just testing
from warnings import filterwarnings, resetwarnings
diff --git a/layman/dbbase.py b/layman/dbbase.py
index c5cd8a5..e94958b 100644
--- a/layman/dbbase.py
+++ b/layman/dbbase.py
@@ -222,7 +222,7 @@ class DbBase:
#-------------------------------------------------------------------------------
if __name__ == '__main__':
- import doctest, sys
+ import doctest
# Ignore warnings here. We are just testing
from warnings import filterwarnings, resetwarnings
diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py
index 49fec24..8a928db 100644
--- a/layman/overlays/overlay.py
+++ b/layman/overlays/overlay.py
@@ -435,5 +435,5 @@ class Overlay(object):
#--------------------------------------------------------------------------------
if __name__ == '__main__':
- import doctest, sys
+ import doctest
doctest.testmod(sys.modules[__name__])