diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2015-02-07 20:19:20 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2015-02-07 20:19:20 -0800 |
commit | 6b22ef1131bce5bf63a4a086fcd05449c87a43b2 (patch) | |
tree | cd97872252f8f6a2b7e7b24802ef3077efcc4bee | |
parent | repoconfmanager.py: Fix conf_type splitting (diff) | |
download | layman-6b22ef1131bce5bf63a4a086fcd05449c87a43b2.tar.gz layman-6b22ef1131bce5bf63a4a086fcd05449c87a43b2.tar.bz2 layman-6b22ef1131bce5bf63a4a086fcd05449c87a43b2.zip |
repoconfmanager.py: Pyflakes and whitespace cleanup
-rw-r--r-- | layman/repoconfmanager.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/layman/repoconfmanager.py b/layman/repoconfmanager.py index 8a65b88..e1143ea 100644 --- a/layman/repoconfmanager.py +++ b/layman/repoconfmanager.py @@ -16,10 +16,9 @@ # import os -import re import sys -from layman.module import Modules, InvalidModuleName +from layman.module import Modules if sys.hexversion >= 0x30200f0: STR = str @@ -104,7 +103,7 @@ class RepoConfManager: conf_ok = conf.disable(overlay) return conf_ok return True - + def enable(self, overlay): ''' @@ -123,11 +122,11 @@ class RepoConfManager: return conf_ok return True - + def update(self, overlay): ''' Updates the source URL for the specified config type(s). - + @param overlay: layman.overlay.Overlay instance. @return boolean: represents success or failure. ''' |