diff options
author | Devan Franchini <twitch153@gentoo.org> | 2015-02-04 11:55:29 -0500 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2015-02-04 11:55:29 -0500 |
commit | 69b440f93cd3e7d83183eff1e1caaaa8ea844fef (patch) | |
tree | 284a3a87086cf21e507293da54372ab959e21c8b | |
parent | layman.cfg: Changes values of conf_type and auto_sync (diff) | |
download | layman-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__.py | 1 |
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' |