Hello community,
here is the log from the commit of package scout
checked in at Tue Nov 18 14:28:11 CET 2008.
--------
--- scout/scout.changes 2008-11-05 11:43:36.000000000 +0100
+++ /mounts/work_src_done/STABLE/scout/scout.changes 2008-11-18 13:39:20.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Nov 18 13:35:27 CET 2008 - prusnak@suse.cz
+
+- check number of unique packages in command-not-found
+
+-------------------------------------------------------------------
+Sat Nov 8 20:33:06 CET 2008 - prusnak@suse.cz
+
+- don't write stacktraces when Ctrl+C is pressed
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ scout.spec ++++++
--- /var/tmp/diff_new_pack.e25789/_old 2008-11-18 14:27:43.000000000 +0100
+++ /var/tmp/diff_new_pack.e25789/_new 2008-11-18 14:27:43.000000000 +0100
@@ -20,7 +20,7 @@
Name: scout
Version: 0.1.0
-Release: 27
+Release: 28
Url: http://en.opensuse.org/Scout
License: X11/MIT
Group: System/Packages
@@ -84,7 +84,7 @@
%package -n command-not-found
Version: 0.1.0
-Release: 34
+Release: 35
License: X11/MIT
Group: System/Packages
Summary: Command Not Found extension for shell
@@ -204,6 +204,10 @@
# %endif
%changelog
+* Tue Nov 18 2008 prusnak@suse.cz
+- check number of unique packages in command-not-found
+* Sat Nov 08 2008 prusnak@suse.cz
+- don't write stacktraces when Ctrl+C is pressed
* Mon Nov 03 2008 prusnak@suse.cz
- modify zypp search to work with new python-satsolver
* Fri Oct 10 2008 prusnak@suse.cz
++++++ scout.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/scout/handlers/bin/command-not-found new/scout/handlers/bin/command-not-found
--- old/scout/handlers/bin/command-not-found 2008-10-30 15:30:01.000000000 +0100
+++ new/scout/handlers/bin/command-not-found 2008-11-18 13:33:57.000000000 +0100
@@ -3,13 +3,6 @@
EX_NOTFOUND = 127
INSTALL_CMD = "sudo zypper install"
-import sys
-import rpm
-import scout
-
-default_lang = scout.DefaultLang(textdomain="command-not-found")
-default_lang.install()
-
def print_found(rows):
print >> sys.stderr
print >> sys.stderr, ngettext("The program '%(prog)s' can be found in the following package:", "The program '%(prog)s' can be found in following packages:", len(rows)) % \
@@ -19,7 +12,7 @@
({'prog' : row[3], 'path' : row[2], 'binary' : row[1], 'repo' : row[0]})
print >> sys.stderr
print >> sys.stderr, _('Try installing with:'), INSTALL_CMD,
- if len(rows) > 1:
+ if len( set( [ i[1] for i in rows] ) ) > 1:
print >> sys.stderr, _('