Skip to content

Commit

Permalink
Infinite recursive loop when using constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
cblegare committed Jun 9, 2017
1 parent 80b31b4 commit 810d33d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
History
=======

1.0.1 (2017-06-01)
------------------

* Fixed: Infinite recursive loop when using `Dmenu2` constructor

1.0.0 (2017-06-01)
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.. |build_badge| image:: https://img.shields.io/travis/cblegare/xdmenu.svg
:target: https://travis-ci.org/cblegare/xdmenu
:alt: Documentation Status
:alt: Build Status

.. |pypi_badge| image:: https://img.shields.io/pypi/v/xdmenu.svg
:target: https://pypi.python.org/pypi/xdmenu`
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

PYTHON_VERSION = platform.python_version_tuple()

DEFAULT_VERSION = '1.0.0'
DEFAULT_VERSION = '1.0.1'


class ProjectMetadata(object):
Expand Down Expand Up @@ -87,7 +87,6 @@ def long_description(self):
Returns:
str: A string
"""
value = 'Extensible wrapper for dmenu.'
return open('README.rst').read()

@property
Expand Down
4 changes: 2 additions & 2 deletions xdmenu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def __init__(self, proc_runner=None, **kwargs):
windowid (str): embed into windowid.
"""
super(self.__class__, self).__init__(proc_runner=proc_runner, **kwargs)
super(Dmenu, self).__init__(proc_runner=proc_runner, **kwargs)
self.add_arg('bottom', _bottom)
self.add_arg('grab', _grab)
self.add_arg('insensitive', _insensitive)
Expand Down Expand Up @@ -358,7 +358,7 @@ def __init__(self, proc_runner=None, **kwargs):
width (int): defines the desired menu window width. Equivalent for
the ``-w`` command line option of dmenu2.
"""
super(self.__class__, self).__init__(proc_runner=proc_runner, **kwargs)
super(Dmenu2, self).__init__(proc_runner=proc_runner, **kwargs)
self.add_arg('filter', _filter)
self.add_arg('fuzzy', _fuzzy)
self.add_arg('token', _token)
Expand Down

0 comments on commit 810d33d

Please sign in to comment.