Skip to content

Commit

Permalink
update readme & remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
nanorepublica committed Sep 29, 2015
1 parent 0c31e41 commit f8640c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
DueDil API v3 |pypi| |build-status| |coverage-status| |waffle| |docs|
=====================================================================

This is a Python implementation of the `DueDil v3 API`_, see the generated
This is a Python implementation of the `DueDil v3 API`_, see the generated
`documentation <http://duedilv3.readthedocs.org/en/latest/>`_ for more information.

.. |build-status| image:: https://travis-ci.org/founders4schools/duedilv3.svg?branch=master
.. |build-status| .. image:: https://travis-ci.org/founders4schools/duedilv3.svg?branch=future
:target: https://travis-ci.org/founders4schools/duedilv3
:alt: Tests
:alt: Build
.. |coverage-status| image:: https://coveralls.io/repos/founders4schools/duedilv3/badge.png
:target: https://coveralls.io/r/founders4schools/duedilv3
:alt: Coverage
Expand Down
2 changes: 0 additions & 2 deletions duedil/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ def getter(self, endpoint):
resource = self.related_resources[endpoint]

if isinstance(resource, six.string_types):
print resource
module, resource = resource.rsplit('.', 1)
print sys.modules['duedil.%s' % module].__dict__
resource = getattr(sys.modules['duedil.%s' % module], resource)

return self.load_related(endpoint, resource)
Expand Down

0 comments on commit f8640c8

Please sign in to comment.