Hello community,

here is the log from the commit of package apparmor for openSUSE:Factory 
checked in at 2013-10-02 13:26:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apparmor (Old)
 and      /work/SRC/openSUSE:Factory/.apparmor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apparmor"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apparmor/apparmor.changes        2013-09-23 
11:42:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apparmor.new/apparmor.changes   2013-10-02 
13:26:57.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Sep 29 15:00:20 UTC 2013 - opens...@cboltz.de
+
+- update apparmor-init.py-gsoc.diff to the final GSoC apparmor/__init__.py
+
+-------------------------------------------------------------------

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

Other differences:
------------------

++++++ apparmor-init.py-gsoc.diff ++++++
--- /var/tmp/diff_new_pack.WRuRzJ/_old  2013-10-02 13:26:58.000000000 +0200
+++ /var/tmp/diff_new_pack.WRuRzJ/_new  2013-10-02 13:26:58.000000000 +0200
@@ -4,8 +4,6 @@
 in a testing package that can be installed on top of the 2.8.x packages 
 without problems
 
-This patch slightly differs from Kshitij's code to avoid problems with
-explicit LANG=C
 
 === modified file 'utils/apparmor/__init__.py'
 --- utils/apparmor/__init__.py 2012-05-08 05:37:48 +0000
@@ -14,7 +12,7 @@
  # ------------------------------------------------------------------
  #
  #    Copyright (C) 2011-2012 Canonical Ltd.
-+#    Copyright (C) 2013 Kshitij Gupta
++#    Copyright (C) 2013 Kshitij Gupta <kgupta8...@gmail.com>
  #
  #    This program is free software; you can redistribute it and/or
  #    modify it under the terms of version 2 of the GNU General Public
@@ -27,13 +25,13 @@
 +
 +def init_localisation():
 +    locale.setlocale(locale.LC_ALL, '')
-+    #cur_locale = locale.getlocale()
++    #If a correct locale has been provided set filename else let an IOError 
be raised
++    filename = '/usr/share/locale/%s/LC_MESSAGES/apparmor-utils.mo' % 
locale.getlocale()[0]
 +    try:
-+        filename = '/usr/share/locale/%s/LC_MESSAGES/apparmor-utils.mo' % 
locale.getlocale()[0][0:2]
-+        trans = gettext.GNUTranslations(open( filename, 'rb'))
-+    except: # IOError:
++        trans = gettext.GNUTranslations(open(filename, 'rb'))
++    except IOError:
 +        trans = gettext.NullTranslations()
 +    trans.install()
-+    
++
 +init_localisation()
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to