diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-02-28 11:42:23 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-02-28 11:42:23 +0000 |
commit | ec5637317c03ae6b14f0fc5ed6e4144a6e9637a8 (patch) | |
tree | 948d1e4a5c1f3b09d7911e87882a20ed02f2101d /net-firewall/ufw/files/ufw-0.30.1-encoding.patch | |
parent | Bump to 1.0, with permission from dagger. Fix glib single-includes bug in a h... (diff) | |
download | historical-ec5637317c03ae6b14f0fc5ed6e4144a6e9637a8.tar.gz historical-ec5637317c03ae6b14f0fc5ed6e4144a6e9637a8.tar.bz2 historical-ec5637317c03ae6b14f0fc5ed6e4144a6e9637a8.zip |
Update per proxy-maintainer request. Remove overshadowed versions.
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'net-firewall/ufw/files/ufw-0.30.1-encoding.patch')
-rw-r--r-- | net-firewall/ufw/files/ufw-0.30.1-encoding.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-firewall/ufw/files/ufw-0.30.1-encoding.patch b/net-firewall/ufw/files/ufw-0.30.1-encoding.patch new file mode 100644 index 000000000000..a4626ef0cff0 --- /dev/null +++ b/net-firewall/ufw/files/ufw-0.30.1-encoding.patch @@ -0,0 +1,15 @@ +Fixes usage with ufw-frontends. +upstream bug report: https://bugs.launchpad.net/ufw/+bug/921758 +--- src/util.py ++++ src/util.py +@@ -205,8 +205,9 @@ + + def open_file_read(f): + '''Opens the specified file read-only''' ++ import codecs + try: +- orig = open(f, 'r') ++ orig = codecs.open(f, 'r', "UTF-8") + except Exception: + raise + |