Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-textfsm for openSUSE:Factory 
checked in at 2021-07-20 15:38:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-textfsm (Old)
 and      /work/SRC/openSUSE:Factory/.python-textfsm.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-textfsm"

Tue Jul 20 15:38:53 2021 rev:6 rq:907021 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-textfsm/python-textfsm.changes    
2020-12-21 10:26:58.556221951 +0100
+++ /work/SRC/openSUSE:Factory/.python-textfsm.new.2632/python-textfsm.changes  
2021-07-20 15:39:14.673448819 +0200
@@ -1,0 +2,6 @@
+Mon Jul 19 06:41:42 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 1.1.2:
+  * String handling fix for Windows platforms
+
+-------------------------------------------------------------------

Old:
----
  textfsm-1.1.1.tar.gz

New:
----
  textfsm-1.1.2.tar.gz

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

Other differences:
------------------
++++++ python-textfsm.spec ++++++
--- /var/tmp/diff_new_pack.oWcD2q/_old  2021-07-20 15:39:16.037451259 +0200
+++ /var/tmp/diff_new_pack.oWcD2q/_new  2021-07-20 15:39:16.041451266 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-textfsm
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-textfsm
-Version:        1.1.1
+Version:        1.1.2
 Release:        0
 Summary:        Python module for parsing semi-structured text into python 
tables
 License:        Apache-2.0

++++++ textfsm-1.1.1.tar.gz -> textfsm-1.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textfsm-1.1.1/setup.py new/textfsm-1.1.2/setup.py
--- old/textfsm-1.1.1/setup.py  2019-11-26 12:17:07.000000000 +0100
+++ new/textfsm-1.1.2/setup.py  2021-06-28 08:43:30.000000000 +0200
@@ -54,5 +54,4 @@
       include_package_data=True,
       package_data={'textfsm': ['../testdata/*']},
       install_requires=['six', 'future'],
-      setup_requires=['pytest-runner'],
-      tests_require=['pytest'])
+     )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textfsm-1.1.1/tests/textfsm_test.py 
new/textfsm-1.1.2/tests/textfsm_test.py
--- old/textfsm-1.1.1/tests/textfsm_test.py     2019-11-26 12:17:07.000000000 
+0100
+++ new/textfsm-1.1.2/tests/textfsm_test.py     2021-06-28 08:43:30.000000000 
+0200
@@ -79,7 +79,7 @@
     # Escaped braces don't count.
     self.assertRaises(textfsm.TextFSMTemplateError,
                       v.Parse,
-                      'Value beer (boo\[)\]hoo)')
+                      r'Value beer (boo\[)\]hoo)')
 
     # String function.
     v = textfsm.TextFSMValue(options_class=textfsm.TextFSMOptions)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textfsm-1.1.1/textfsm/__init__.py 
new/textfsm-1.1.2/textfsm/__init__.py
--- old/textfsm-1.1.1/textfsm/__init__.py       2019-11-26 12:17:07.000000000 
+0100
+++ new/textfsm-1.1.2/textfsm/__init__.py       2021-06-28 08:43:30.000000000 
+0200
@@ -10,4 +10,4 @@
 """
 from textfsm.parser import *
 
-__version__ = '1.1.1'
+__version__ = '1.1.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textfsm-1.1.1/textfsm/parser.py 
new/textfsm-1.1.2/textfsm/parser.py
--- old/textfsm-1.1.1/textfsm/parser.py 2019-11-26 12:17:07.000000000 +0100
+++ new/textfsm-1.1.2/textfsm/parser.py 2021-06-28 08:43:30.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright 2010 Google Inc. All Rights Reserved.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textfsm-1.1.1/textfsm/terminal.py 
new/textfsm-1.1.2/textfsm/terminal.py
--- old/textfsm-1.1.1/textfsm/terminal.py       2019-11-26 12:17:07.000000000 
+0100
+++ new/textfsm-1.1.2/textfsm/terminal.py       2021-06-28 08:43:30.000000000 
+0200
@@ -25,6 +25,8 @@
 try:
   # Import fails on Windows machines.
   import fcntl
+  import termios
+  import tty
 except (ImportError, ModuleNotFoundError):
   pass
 import getopt
@@ -32,9 +34,7 @@
 import re
 import struct
 import sys
-import termios
 import time
-import tty
 from builtins import object   # pylint: disable=redefined-builtin
 from builtins import str      # pylint: disable=redefined-builtin
 
@@ -204,7 +204,7 @@
     line_length = 0
     for (index, token) in enumerate(token_list):
       # Skip null tokens.
-      if token is '':
+      if token == '':
         continue
 
       if sgr_re.match(token):

Reply via email to