Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/layman:master commit in: layman/
Date: Sun, 08 Feb 2015 04:20:17
Message-Id: 1423369160.6b22ef1131bce5bf63a4a086fcd05449c87a43b2.dolsen@gentoo
1 commit: 6b22ef1131bce5bf63a4a086fcd05449c87a43b2
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 8 04:19:20 2015 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 8 04:19:20 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=6b22ef11
7
8 repoconfmanager.py: Pyflakes and whitespace cleanup
9
10 ---
11 layman/repoconfmanager.py | 9 ++++-----
12 1 file changed, 4 insertions(+), 5 deletions(-)
13
14 diff --git a/layman/repoconfmanager.py b/layman/repoconfmanager.py
15 index 8a65b88..e1143ea 100644
16 --- a/layman/repoconfmanager.py
17 +++ b/layman/repoconfmanager.py
18 @@ -16,10 +16,9 @@
19 #
20
21 import os
22 -import re
23 import sys
24
25 -from layman.module import Modules, InvalidModuleName
26 +from layman.module import Modules
27
28 if sys.hexversion >= 0x30200f0:
29 STR = str
30 @@ -104,7 +103,7 @@ class RepoConfManager:
31 conf_ok = conf.disable(overlay)
32 return conf_ok
33 return True
34 -
35 +
36
37 def enable(self, overlay):
38 '''
39 @@ -123,11 +122,11 @@ class RepoConfManager:
40 return conf_ok
41 return True
42
43 -
44 +
45 def update(self, overlay):
46 '''
47 Updates the source URL for the specified config type(s).
48 -
49 +
50 @param overlay: layman.overlay.Overlay instance.
51 @return boolean: represents success or failure.
52 '''