Package: wicd Version: 1.7.0-2 Severity: wishlist Hello
Wicd’s use of ConfigParser means that the config file won’t be sorted. This means that if the config is kept in a VCS (e.g. thanks to etckeeper) there will be local modifications nearly each time but no actual change, thus cluttering the history. I suggest either using python-iniparse instead of ConfigParser, or using a custom function to write the config file, something like this (stole it from ConfigParser and added sorted): for section in sorted(parser.sections()): print >> file, '[%s]' % section for name, value in sorted(parser.items(section)): if key != '__name__': print >> file, '%s = %s' % (name, str(value).replace('\n', '\n\t')) Please note that this code is untested. Cheers Merwok -- System Information: Debian Release: squeeze APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wicd depends on: ii wicd-daemon 1.7.0-2 wired and wireless network manager ii wicd-gtk [wicd-client] 1.7.0-2 wired and wireless network manager wicd recommends no packages. wicd suggests no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org