Skip to content

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