From: | "Thomas Kahle (tomka)" <tomka@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/wicd/files: wicd-1.7.1_pre20111210-fix-config-reading.patch |
Date: | Fri, 30 Dec 2011 09:42:23 |
Message-Id: | 20111230094208.88C3A2004C@flycatcher.gentoo.org |
1 | tomka 11/12/30 09:42:08 |
2 | |
3 | Added: wicd-1.7.1_pre20111210-fix-config-reading.patch |
4 | Log: |
5 | Fix bug 394309 and download URI |
6 | |
7 | (Portage version: 2.1.10.44/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/wicd/files/wicd-1.7.1_pre20111210-fix-config-reading.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/files/wicd-1.7.1_pre20111210-fix-config-reading.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/files/wicd-1.7.1_pre20111210-fix-config-reading.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: wicd-1.7.1_pre20111210-fix-config-reading.patch |
16 | =================================================================== |
17 | === modified file 'wicd/configmanager.py' |
18 | --- wicd/configmanager.py 2011-12-08 17:56:03 +0000 |
19 | +++ wicd/configmanager.py 2011-12-11 19:41:57 +0000 |
20 | @@ -37,7 +37,7 @@ |
21 | conf = open(path) |
22 | newconf = '' |
23 | for line in conf: |
24 | - if '[' not in line or '=' not in line: |
25 | + if '[' in line or '=' in line: |
26 | newconf += line |
27 | conf.close() |
28 | conf = open(path, 'w') |