Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2015-01-09 20:50:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2013-10-01 
08:27:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new/python-cmd2.changes     
2015-01-09 20:51:13.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Jan  9 00:30:50 UTC 2015 - dmuel...@suse.com
+
+- update to 0.6.8:
+  * In case when which is not installed, do not launch an editor
+
+-------------------------------------------------------------------

Old:
----
  cmd2-0.6.7.tar.gz

New:
----
  cmd2-0.6.8.tar.gz

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

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.fKvYev/_old  2015-01-09 20:51:14.000000000 +0100
+++ /var/tmp/diff_new_pack.fKvYev/_new  2015-01-09 20:51:14.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cmd2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           python-cmd2
-Version:        0.6.7
+Version:        0.6.8
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT

++++++ cmd2-0.6.7.tar.gz -> cmd2-0.6.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.7/PKG-INFO new/cmd2-0.6.8/PKG-INFO
--- old/cmd2-0.6.7/PKG-INFO     2013-09-21 03:29:58.000000000 +0200
+++ new/cmd2-0.6.8/PKG-INFO     2014-12-09 03:25:33.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: cmd2
-Version: 0.6.7
+Version: 0.6.8
 Summary: Extra features for standard library's cmd module
 Home-page: http://packages.python.org/cmd2/
 Author: Catherine Devlin
@@ -41,3 +41,9 @@
 Classifier: Programming Language :: Python
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.0
+Classifier: Programming Language :: Python :: 3.1
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.7/cmd2.egg-info/PKG-INFO 
new/cmd2-0.6.8/cmd2.egg-info/PKG-INFO
--- old/cmd2-0.6.7/cmd2.egg-info/PKG-INFO       2013-09-21 03:29:58.000000000 
+0200
+++ new/cmd2-0.6.8/cmd2.egg-info/PKG-INFO       2014-12-09 03:25:33.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: cmd2
-Version: 0.6.7
+Version: 0.6.8
 Summary: Extra features for standard library's cmd module
 Home-page: http://packages.python.org/cmd2/
 Author: Catherine Devlin
@@ -41,3 +41,9 @@
 Classifier: Programming Language :: Python
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.0
+Classifier: Programming Language :: Python :: 3.1
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.7/cmd2.py new/cmd2-0.6.8/cmd2.py
--- old/cmd2-0.6.7/cmd2.py      2013-09-21 03:26:31.000000000 +0200
+++ new/cmd2-0.6.8/cmd2.py      2014-12-09 03:17:08.000000000 +0100
@@ -42,7 +42,7 @@
 from optparse import make_option
 import pyparsing
 
-__version__ = '0.6.6.1'
+__version__ = '0.6.8'
 
 if sys.version_info[0] == 2:
     pyparsing.ParserElement.enablePackrat()
@@ -104,6 +104,12 @@
         return getattr(obj, attr)
     except AttributeError:
         return None
+
+def _which(editor):
+    try:
+        return subprocess.Popen(['which', editor], stdout=subprocess.PIPE, 
stderr=subprocess.STDOUT).communicate()[0]
+    except OSError:
+        return None
     
 optparse.Values.get = _attr_get_
     
@@ -421,7 +427,7 @@
             editor = 'notepad'
         else:
             for editor in ['gedit', 'kate', 'vim', 'vi', 'emacs', 'nano', 
'pico']:
-                if subprocess.Popen(['which', editor], stdout=subprocess.PIPE, 
stderr=subprocess.STDOUT).communicate()[0]:
+                if _which(editor):
                     break
 
     colorcodes =    {'bold':{True:'\x1b[1m',False:'\x1b[22m'},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.7/setup.py new/cmd2-0.6.8/setup.py
--- old/cmd2-0.6.7/setup.py     2013-09-21 03:26:31.000000000 +0200
+++ new/cmd2-0.6.8/setup.py     2014-12-09 03:17:16.000000000 +0100
@@ -14,7 +14,7 @@
 
 setup(
     name="cmd2",
-    version="0.6.7",
+    version="0.6.8",
     py_modules=["cmd2"],
     use_2to3=True,
     
@@ -61,6 +61,13 @@
         'Programming Language :: Python',
         'License :: OSI Approved :: MIT License',
         'Topic :: Software Development :: Libraries :: Python Modules',
+        'Programming Language :: Python :: 2.6',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3.0',
+        'Programming Language :: Python :: 3.1',
+        'Programming Language :: Python :: 3.2',
+        'Programming Language :: Python :: 3.3',
+
     ],
     )
 

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

Reply via email to