Hello community,
here is the log from the commit of package python-shodan for openSUSE:Factory checked in at 2018-10-31 13:12:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-shodan (Old)
and /work/SRC/openSUSE:Factory/.python-shodan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-shodan"
Wed Oct 31 13:12:09 2018 rev:7 rq:643570 version:1.10.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-shodan/python-shodan.changes 2018-10-11 11:48:07.654582516 +0200
+++ /work/SRC/openSUSE:Factory/.python-shodan.new/python-shodan.changes 2018-10-31 13:12:15.711580377 +0100
@@ -1,0 +2,6 @@
+Sun Oct 14 13:29:33 UTC 2018 - Sebastian Wagner
+
+- update to version 1.10.4:
+ * Fix a bug when showing old banner records that don't have the "transport" property
+
+-------------------------------------------------------------------
Old:
----
shodan-1.10.3.tar.gz
New:
----
shodan-1.10.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-shodan.spec ++++++
--- /var/tmp/diff_new_pack.JLL1Im/_old 2018-10-31 13:12:20.303575919 +0100
+++ /var/tmp/diff_new_pack.JLL1Im/_new 2018-10-31 13:12:20.303575919 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
Name: python-shodan
-Version: 1.10.3
+Version: 1.10.4
Release: 0
Summary: Python library and command-line utility for Shodan
License: MIT
++++++ shodan-1.10.3.tar.gz -> shodan-1.10.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/PKG-INFO new/shodan-1.10.4/PKG-INFO
--- old/shodan-1.10.3/PKG-INFO 2018-09-22 04:41:44.000000000 +0200
+++ new/shodan-1.10.4/PKG-INFO 2018-10-05 03:00:20.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: shodan
-Version: 1.10.3
+Version: 1.10.4
Summary: Python library and command-line utility for Shodan (https://developer.shodan.io)
Home-page: http://github.com/achillean/shodan-python/tree/master
Author: John Matherly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/setup.cfg new/shodan-1.10.4/setup.cfg
--- old/shodan-1.10.3/setup.cfg 2018-09-22 04:41:44.000000000 +0200
+++ new/shodan-1.10.4/setup.cfg 2018-10-05 03:00:20.000000000 +0200
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/setup.py new/shodan-1.10.4/setup.py
--- old/shodan-1.10.3/setup.py 2018-09-22 04:14:46.000000000 +0200
+++ new/shodan-1.10.4/setup.py 2018-10-05 02:49:51.000000000 +0200
@@ -7,7 +7,7 @@
setup(
name = 'shodan',
- version = '1.10.3',
+ version = '1.10.4',
description = 'Python library and command-line utility for Shodan (https://developer.shodan.io)',
long_description = README,
long_description_content_type = 'text/x-rst',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/shodan/__main__.py new/shodan-1.10.4/shodan/__main__.py
--- old/shodan-1.10.3/shodan/__main__.py 2018-09-22 04:14:03.000000000 +0200
+++ new/shodan-1.10.4/shodan/__main__.py 2018-10-05 02:49:11.000000000 +0200
@@ -230,7 +230,7 @@
if count >= limit:
break
- except:
+ except Exception:
pass
# Let the user know we're done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/shodan/cli/host.py new/shodan-1.10.4/shodan/cli/host.py
--- old/shodan-1.10.3/shodan/cli/host.py 2018-08-17 22:44:48.000000000 +0200
+++ new/shodan-1.10.4/shodan/cli/host.py 2018-10-05 01:20:34.000000000 +0200
@@ -80,8 +80,9 @@
version = '({})'.format(banner['version'])
click.echo(click.style('{:>7d}'.format(banner['port']), fg='cyan'), nl=False)
- click.echo('/', nl=False)
- click.echo(click.style('{} '.format(banner['transport']), fg='yellow'), nl=False)
+ if 'transport' in banner:
+ click.echo('/', nl=False)
+ click.echo(click.style('{} '.format(banner['transport']), fg='yellow'), nl=False)
click.echo('{} {}'.format(product, version), nl=False)
if history:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/shodan/helpers.py new/shodan-1.10.4/shodan/helpers.py
--- old/shodan-1.10.3/shodan/helpers.py 2018-09-22 04:14:03.000000000 +0200
+++ new/shodan-1.10.4/shodan/helpers.py 2018-09-23 03:58:44.000000000 +0200
@@ -98,7 +98,7 @@
# pylint: disable=E0401
try:
from ujson import loads
- except:
+ except Exception:
pass
if isinstance(files, basestring):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/shodan.egg-info/PKG-INFO new/shodan-1.10.4/shodan.egg-info/PKG-INFO
--- old/shodan-1.10.3/shodan.egg-info/PKG-INFO 2018-09-22 04:41:44.000000000 +0200
+++ new/shodan-1.10.4/shodan.egg-info/PKG-INFO 2018-10-05 03:00:20.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: shodan
-Version: 1.10.3
+Version: 1.10.4
Summary: Python library and command-line utility for Shodan (https://developer.shodan.io)
Home-page: http://github.com/achillean/shodan-python/tree/master
Author: John Matherly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.10.3/shodan.egg-info/requires.txt new/shodan-1.10.4/shodan.egg-info/requires.txt
--- old/shodan-1.10.3/shodan.egg-info/requires.txt 2018-09-22 04:41:44.000000000 +0200
+++ new/shodan-1.10.4/shodan.egg-info/requires.txt 2018-10-05 03:00:20.000000000 +0200
@@ -1,5 +1,5 @@
+XlsxWriter
click
click-plugins
colorama
requests>=2.2.1
-XlsxWriter