commit: 6b22ef1131bce5bf63a4a086fcd05449c87a43b2
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 8 04:19:20 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun Feb 8 04:19:20 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=6b22ef11
repoconfmanager.py: Pyflakes and whitespace cleanup
---
layman/repoconfmanager.py | 9 ++++-----
1 file 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.
'''