Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit e8bac32

Browse files
committed
Merge branch 'release/1.0.1'
2 parents 092603e + e9a748e commit e8bac32

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Click on the images below to see a larger version and the source code that gener
2727
Project Status
2828
==============
2929

30-
The latest version is **1.0.0** which was released on 2013-09-17, and is a backwards incompatbile from the previous release.
30+
The latest version is **1.0.1** which was released on 2013-09-17, and is a backwards incompatbile from the previous release.
3131

3232
The `project lives on GitHub <https://github.com/gak/pycallgraph/#python-call-graph>`_, where you can `report issues <https://github.com/gak/pycallgraph/issues>`_, contribute to the project by `forking the project <https://help.github.com/articles/fork-a-repo>`_ then creating a `pull request <https://help.github.com/articles/using-pull-requests>`_, or just `browse the source code <https://github.com/gak/pycallgraph/>`_.
3333

@@ -69,4 +69,4 @@ A simple use of the API is::
6969
Documentation
7070
=============
7171

72-
Feel free to browse the `documentation of pycallgraph <http://pycallgraph.slowchop.com/en/develop/>`_ for the `usage guide <http://pycallgraph.slowchop.com/en/develop/guide/index.html>`_ and `API reference <http://pycallgraph.slowchop.com/en/develop/api/api.html>`_.
72+
Feel free to browse the `documentation of pycallgraph <http://pycallgraph.slowchop.com/en/master/>`_ for the `usage guide <http://pycallgraph.slowchop.com/en/master/guide/index.html>`_ and `API reference <http://pycallgraph.slowchop.com/en/master/api/api.html>`_.

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Click on the images below to see a larger version and the source code that gener
2727
Project Status
2828
==============
2929

30-
The latest version is **1.0.0** which was released on 2013-09-17, and is a backwards incompatbile from the previous release.
30+
The latest version is **1.0.1** which was released on 2013-09-17, and is a backwards incompatbile from the previous release.
3131

3232
The `project lives on GitHub <https://github.com/gak/pycallgraph/#python-call-graph>`_, where you can `report issues <https://github.com/gak/pycallgraph/issues>`_, contribute to the project by `forking the project <https://help.github.com/articles/fork-a-repo>`_ then creating a `pull request <https://help.github.com/articles/using-pull-requests>`_, or just `browse the source code <https://github.com/gak/pycallgraph/>`_.
3333

docs/readme_extras.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Documentation
22
=============
33

4-
Feel free to browse the `documentation of pycallgraph <http://pycallgraph.slowchop.com/en/develop/>`_ for the `usage guide <http://pycallgraph.slowchop.com/en/develop/guide/index.html>`_ and `API reference <http://pycallgraph.slowchop.com/en/develop/api/api.html>`_.
4+
Feel free to browse the `documentation of pycallgraph <http://pycallgraph.slowchop.com/en/master/>`_ for the `usage guide <http://pycallgraph.slowchop.com/en/master/guide/index.html>`_ and `API reference <http://pycallgraph.slowchop.com/en/master/api/api.html>`_.

man/pycallgraph.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "PYCALLGRAPH" "1" "September 17, 2013" "1.0.0" "Python Call Graph"
3+
.TH "PYCALLGRAPH" "1" "September 17, 2013" "1.0.1" "Python Call Graph"
44
.SH NAME
55
pycallgraph \- Python Call Graph
66
.

pycallgraph/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A different file to pycallgraph.py because of circular import problem
22

3-
__version__ = '1.0.0'
3+
__version__ = '1.0.1'
44
__copyright__ = 'Copyright Gerald Kaszuba 2007-2013'
55
__license__ = 'GPLv2'
66
__author__ = 'Gerald Kaszuba'

pycallgraph/output/output.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ def set_config(self, config):
2424
the output module config variables.
2525
'''
2626
for k, v in config.__dict__.iteritems():
27-
is_fun = callable(getattr(self, k))
28-
if hasattr(self, k) and is_fun:
27+
if hasattr(self, k) and callable(getattr(self, k)):
2928
continue
3029
setattr(self, k, v)
3130

test/test_output.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from helpers import *
2+
3+
4+
def test_set_config():
5+
'''Should not raise!'''
6+
Output().set_config(Config())

0 commit comments

Comments
 (0)