summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2015-02-04 11:55:29 -0500
committerDevan Franchini <twitch153@gentoo.org>2015-02-04 11:55:29 -0500
commit69b440f93cd3e7d83183eff1e1caaaa8ea844fef (patch)
tree284a3a87086cf21e507293da54372ab959e21c8b
parentlayman.cfg: Changes values of conf_type and auto_sync (diff)
downloadlayman-69b440f93cd3e7d83183eff1e1caaaa8ea844fef.tar.gz
layman-69b440f93cd3e7d83183eff1e1caaaa8ea844fef.tar.bz2
layman-69b440f93cd3e7d83183eff1e1caaaa8ea844fef.zip
laymanator/__init__.py: Adds a delete of layman object after import check
-rw-r--r--layman/laymanator/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/layman/laymanator/__init__.py b/layman/laymanator/__init__.py
index 62540ba..890302c 100644
--- a/layman/laymanator/__init__.py
+++ b/layman/laymanator/__init__.py
@@ -13,6 +13,7 @@ from portage.sync.config_checks import CheckSyncConfig
try:
import layman
config_class = 'PyLayman'
+ del layman
except ImportError:
config_class = 'Layman'