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

Commit

Permalink
Merge branch 'release/1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
gak committed Sep 17, 2013
2 parents 092603e + e9a748e commit e8bac32
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Click on the images below to see a larger version and the source code that gener
Project Status
==============

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

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/>`_.

Expand Down Expand Up @@ -69,4 +69,4 @@ A simple use of the API is::
Documentation
=============

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>`_.
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>`_.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Click on the images below to see a larger version and the source code that gener
Project Status
==============

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

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/>`_.

Expand Down
2 changes: 1 addition & 1 deletion docs/readme_extras.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Documentation
=============

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>`_.
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>`_.
2 changes: 1 addition & 1 deletion man/pycallgraph.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "PYCALLGRAPH" "1" "September 17, 2013" "1.0.0" "Python Call Graph"
.TH "PYCALLGRAPH" "1" "September 17, 2013" "1.0.1" "Python Call Graph"
.SH NAME
pycallgraph \- Python Call Graph
.
Expand Down
2 changes: 1 addition & 1 deletion pycallgraph/metadata.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# A different file to pycallgraph.py because of circular import problem

__version__ = '1.0.0'
__version__ = '1.0.1'
__copyright__ = 'Copyright Gerald Kaszuba 2007-2013'
__license__ = 'GPLv2'
__author__ = 'Gerald Kaszuba'
Expand Down
3 changes: 1 addition & 2 deletions pycallgraph/output/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ def set_config(self, config):
the output module config variables.
'''
for k, v in config.__dict__.iteritems():
is_fun = callable(getattr(self, k))
if hasattr(self, k) and is_fun:
if hasattr(self, k) and callable(getattr(self, k)):
continue
setattr(self, k, v)

Expand Down
6 changes: 6 additions & 0 deletions test/test_output.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from helpers import *


def test_set_config():
'''Should not raise!'''
Output().set_config(Config())

0 comments on commit e8bac32

Please sign in to comment.