Hello community,

here is the log from the commit of package targetcli for openSUSE:Factory 
checked in at 2015-12-01 09:18:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/targetcli (Old)
 and      /work/SRC/openSUSE:Factory/.targetcli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "targetcli"

Changes:
--------
--- /work/SRC/openSUSE:Factory/targetcli/targetcli.changes      2014-12-03 
22:50:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.targetcli.new/targetcli.changes 2015-12-01 
09:18:41.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Nov 24 08:29:19 UTC 2015 - ls...@suse.com
+
+- fix BNC#948529 - targetcli - TAB-ing 'exit' confirmation aborts
+  it
+  patch:targetcli-fix-exit.patch
+
+-------------------------------------------------------------------

New:
----
  targetcli-fix-exit.patch

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

Other differences:
------------------
++++++ targetcli.spec ++++++
--- /var/tmp/diff_new_pack.SV51pg/_old  2015-12-01 09:18:42.000000000 +0100
+++ /var/tmp/diff_new_pack.SV51pg/_new  2015-12-01 09:18:42.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package targetcli
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -47,6 +47,7 @@
 Patch1:         %{oname}-git-update.patch
 Patch2:         %{oname}-fix-git-version-for-suse.patch
 Patch3:         %{oname}-update-man-page-examples.patch
+Patch4:         %{oname}-fix-exit.patch
 
 %description
 targetcli is an administration tool for managing storage targets
@@ -58,6 +59,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4        -p1
 
 %build
 %{__python} setup.py build

++++++ targetcli-fix-exit.patch ++++++
Index: targetcli-2.1/targetcli/ui_node.py
===================================================================
--- targetcli-2.1.orig/targetcli/ui_node.py
+++ targetcli-2.1/targetcli/ui_node.py
@@ -128,7 +128,7 @@ class UINode(ConfigNode):
                 except EOFError:
                     input = None
                     self.shell.con.display('')
-                if input == "exit":
+                if input.strip() == "exit":
                     return 'EXIT'
                 else:
                     self.shell.log.warning("Aborted exit, use 'saveconfig' to "

Reply via email to