[ 
https://issues.apache.org/jira/browse/LIBCLOUD-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomaz Muraus updated LIBCLOUD-47:
---------------------------------

    Attachment: dummy_driver.patch

Here is a patch.

I've moved the methods outside the class and changed how they are called inside 
the DummyNodeDriver class.

Becauser these two functions are basically utility function which might get 
used somewhere else in the future it makes sense to put them in a separate file 
with other utility functions.

> Bug in dummy driver (_ip_to_int and _int_to_ip function)
> --------------------------------------------------------
>
>                 Key: LIBCLOUD-47
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-47
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tomaz Muraus
>         Attachments: dummy_driver.patch
>
>
> _ip_to_int and _int_to_ip function functions are defined inside a 
> DummyNodeDriver class, but don't accept "self" as a first argument and 
> obviously this won't work and throws an exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to