diff options
author | Thomas Kahle <tomka@gentoo.org> | 2012-05-21 07:23:52 +0000 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2012-05-21 07:23:52 +0000 |
commit | 075f6e7856ed3f2ec5262615f3d8e89c185fa311 (patch) | |
tree | 99c804fb4bbe106b7f5221bba9db7da23328b6e3 /net-misc/wicd/files | |
parent | Initial commit for #355445 / #416807, ebuild by jbergstroem (diff) | |
download | historical-075f6e7856ed3f2ec5262615f3d8e89c185fa311.tar.gz historical-075f6e7856ed3f2ec5262615f3d8e89c185fa311.tar.bz2 historical-075f6e7856ed3f2ec5262615f3d8e89c185fa311.zip |
-r1 bump to fix bug 416579
Package-Manager: portage-2.1.10.62/cvs/Linux x86_64
Diffstat (limited to 'net-misc/wicd/files')
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.2.4-fix-dbus-error.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/wicd/files/wicd-1.7.2.4-fix-dbus-error.patch b/net-misc/wicd/files/wicd-1.7.2.4-fix-dbus-error.patch new file mode 100644 index 000000000000..2fddc9a2e55f --- /dev/null +++ b/net-misc/wicd/files/wicd-1.7.2.4-fix-dbus-error.patch @@ -0,0 +1,16 @@ +=== modified file 'wicd/misc.py' +--- wicd/misc.py 2012-04-30 19:20:47 +0000 ++++ wicd/misc.py 2012-05-03 16:01:49 +0000 +@@ -430,7 +430,10 @@ + """ Sanitize property names to be used in config-files. """ + allowed = string.ascii_letters + '_' + string.digits + table = string.maketrans(allowed, ' ' * len(allowed)) +- return s.translate(None, table) ++ ++ # s is a dbus.String -- since we don't allow unicode property keys, ++ # make it simple. ++ return str(s).translate(None, table) + + def sanitize_escaped(s): + """ Sanitize double-escaped unicode strings. """ + |