~jdstrand/ufw/ufw-xenial

« back to all changes in this revision

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

  • Committer: Jamie Strandboge
  • Date: 2012-12-04 15:44:28 UTC
  • Revision ID: jamie@canonical.com-20121204154428-7bs2alwnu0korr9m
Release 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: