Hello community,

here is the log from the commit of package apparmor for openSUSE:Factory 
checked in at 2018-08-27 12:55:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apparmor (Old)
 and      /work/SRC/openSUSE:Factory/.apparmor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apparmor"

Mon Aug 27 12:55:11 2018 rev:118 rq:630976 version:2.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/apparmor/apparmor.changes        2018-05-13 
15:54:04.166403994 +0200
+++ /work/SRC/openSUSE:Factory/.apparmor.new/apparmor.changes   2018-08-27 
12:55:17.176549517 +0200
@@ -1,0 +2,5 @@
+Wed Aug 22 11:32:59 UTC 2018 - [email protected]
+
+- add make-pyflakes-happy.diff to fix an unused variable (SR 629206)
+
+-------------------------------------------------------------------

New:
----
  make-pyflakes-happy.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apparmor.spec ++++++
--- /var/tmp/diff_new_pack.ptBhik/_old  2018-08-27 12:55:19.868552468 +0200
+++ /var/tmp/diff_new_pack.ptBhik/_new  2018-08-27 12:55:19.872552473 +0200
@@ -68,12 +68,15 @@
 # fix permissions of apparmor.systemd (boo#1090545, merged upstream 2018-04-27 
https://gitlab.com/apparmor/apparmor/merge_requests/106)
 Patch9:         fix-apparmor-systemd-perms.diff
 
-# exclude the /etc/apparmor.d/cache.d directory from aa-logprof parsing
+# exclude the /etc/apparmor.d/cache.d directory from aa-logprof parsing 
(merged upstream 2018-04-30 
https://gitlab.com/apparmor/apparmor/merge_requests/110/diffs)
 Patch10:        logprof-skip-cache-d.diff
 
-# bug 1092099 - Allow smbd to load new shared libraries. Allow Winbindd to 
read and write new kerberos cache location
+# bug 1092099 - Allow smbd to load new shared libraries. Allow Winbindd to 
read and write new kerberos cache location (accepted upstream 2018-05-09 
https://gitlab.com/apparmor/apparmor/merge_requests/121 - slightly different 
patch)
 Patch11:        fix-samba-profiles.patch
 
+# SR 629206 - make pyflakes 2.0 happy (unused variable)
+Patch12:        make-pyflakes-happy.diff
+
 PreReq:         sed
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define apparmor_bin_prefix /lib/apparmor
@@ -365,6 +368,7 @@
 %patch9 -p1
 %patch10
 %patch11 -p1
+%patch12 -p1
 
 %build
 export SUSE_ASNEEDED=0



++++++ make-pyflakes-happy.diff ++++++
diff --git a/utils/apparmor/sandbox.py b/utils/apparmor/sandbox.py
index 51048f6f..17e413ea 100644
--- a/utils/apparmor/sandbox.py
+++ b/utils/apparmor/sandbox.py
@@ -718,7 +718,7 @@ def run_xsandbox(command, opt):
     # aa-exec
     try:
         rc, report = aa_exec(command, opt, x.new_environ, required_rules)
-    except Exception as e:
+    except Exception:
         x.cleanup()
         raise
     x.cleanup()

Reply via email to