~ubuntu-branches/ubuntu/saucy/ufw/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/patches/0003-fix-typeerror-on-error.patch

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2012-09-24 08:52:57 UTC
  • Revision ID: package-import@ubuntu.com-20120924085257-uqiulz242yd4ab2a
Tags: 0.33-0ubuntu2
* debian/patches/0002-lp1044361.patch: move netfilter capabilities checking
  into initcaps(), and call initcaps() only when we need it (LP: #1044361)
* 0003-fix-typeerror-on-error.patch: fix TypeError on error when using zh_CN

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Origin: r797
 
2
Description: src/backend_iptables.py: fix misplaced parenthesis
 
3
Index: ufw-0.33/src/backend_iptables.py
 
4
===================================================================
 
5
--- ufw-0.33.orig/src/backend_iptables.py       2012-09-24 08:51:13.000000000 -0500
 
6
+++ ufw-0.33/src/backend_iptables.py    2012-09-24 08:52:00.000000000 -0500
 
7
@@ -1075,7 +1075,7 @@
 
8
             exe = self.ip6tables
 
9
         (rc, out) = cmd([exe] + args)
 
10
         if rc != 0:
 
11
-            err_msg = _("Could not perform '%s'") % (args)
 
12
+            err_msg = _("Could not perform '%s'" % (args))
 
13
             if fail_ok:
 
14
                 debug("FAILOK: " + err_msg)
 
15
             else: