1 |
commit: 303f082bc23a2c0bee18ddbf81429d0bdc3613d8 |
2 |
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 8 00:32:50 2015 +0000 |
4 |
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 8 00:32:54 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=303f082b |
7 |
|
8 |
reposconf.py: Changes global SYNC_TYPE variable to laymansync |
9 |
|
10 |
Also deletion of laymansync after import. |
11 |
|
12 |
--- |
13 |
layman/config_modules/reposconf/reposconf.py | 5 +++-- |
14 |
1 file changed, 3 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/layman/config_modules/reposconf/reposconf.py b/layman/config_modules/reposconf/reposconf.py |
17 |
index e61dfe0..5848796 100644 |
18 |
--- a/layman/config_modules/reposconf/reposconf.py |
19 |
+++ b/layman/config_modules/reposconf/reposconf.py |
20 |
@@ -28,8 +28,9 @@ else: |
21 |
import ConfigParser |
22 |
|
23 |
try: |
24 |
- from portage.sync.modules import laymanator |
25 |
- SYNC_TYPE = "laymanator" |
26 |
+ from portage.sync.modules import laymansync |
27 |
+ SYNC_TYPE = "laymansync" |
28 |
+ del laymansync |
29 |
except ImportError: |
30 |
SYNC_TYPE = None |