Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] Import taxonomies into methods root package #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lasley
Copy link

@lasley lasley commented Mar 17, 2017

Minor improvement, adds import of taxonomies into the root methods package.

Before:

>>> from wordpress_xmlrpc import methods
>>> methods.taxonomies
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'taxonomies'
>>> dir(methods)
['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'comments', 'demo', 'media', 'options', 'pages', 'posts', 'users']

After:

>>> from wordpress_xmlrpc import methods
>>> methods.taxonomies
>>> dir(methods)
['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'comments', 'demo', 'media', 'options', 'pages', 'posts', 'taxonomies', 'users']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant