~matttbe/wicd/ubuntu_python27

« back to all changes in this revision

Viewing changes to debian/patches/20-use_iniparse.patch

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2010-03-05 18:12:51 UTC
  • mfrom: (8.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100305181251-0fcsn0sty5oy8wlq
Tags: 1.7.0+ds1-2
Fix RC bug: daemon doesn't start anymore because copy.deepcopy()
fails with the iniparse object, coming from 20-use_iniparse.patch.
Bug 568326 reopened. (Closes: #572599)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: David Paleino <dapal@debian.org>
 
2
Subject: use python-iniparse instead of ConfigParser,
 
3
 because the former leaves the config files sorted, so that no spurious
 
4
 changes appear when /etc/ is e.g. stored with etckeeper.
 
5
Forwarded: no
 
6
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568326
 
7
 
 
8
---
 
9
 wicd/configmanager.py |    2 +-
 
10
 1 file changed, 1 insertion(+), 1 deletion(-)
 
11
 
 
12
--- wicd.orig/wicd/configmanager.py
 
13
+++ wicd/wicd/configmanager.py
 
14
@@ -26,7 +26,7 @@ reusable for other purposes as well.
 
15
 
 
16
 import os, copy
 
17
 
 
18
-from ConfigParser import RawConfigParser, ParsingError
 
19
+from iniparse.compat import RawConfigParser, ParsingError
 
20
 
 
21
 from wicd.misc import Noneify, to_unicode
 
22