[ https://issues.apache.org/jira/browse/LIBCLOUD-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Muraus closed LIBCLOUD-829. --------------------------------- Assignee: Tomaz Muraus You are welcome :) > Breaking change with EC2 driver doesn't actually exist > ------------------------------------------------------ > > Key: LIBCLOUD-829 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-829 > Project: Libcloud > Issue Type: Bug > Components: Compute > Reporter: Mario Loria > Assignee: Tomaz Muraus > Priority: Blocker > > Using the new version (kudos btw, love the project): > {code} > In [2]: libcloud.__version__ > Out[2]: '1.0.0' > {code} > Getting a traceback when I try to use the new format: > {code} > DRIVER = get_driver(Provider.EC2, region=settings.AWS_REGION) > CONNECTION = DRIVER( > settings.AWS_ACCESS_ID, > settings.AWS_SECRET_KEY > ) > {code} > Yields the following: > {code} > --------------------------------------------------------------------------- > TypeError Traceback (most recent call last) > <ipython-input-3-d7ae68561a4a> in <module>() > ----> 1 from orchid.cloud import instance > /home/mloria/arrovenv/orchid/orchid/cloud/instance.py in <module>() > 25 > 26 > ---> 27 DRIVER = get_driver(Provider.EC2, region=settings.AWS_REGION) > 28 CONNECTION = DRIVER( > 29 settings.AWS_ACCESS_ID, > TypeError: get_driver() got an unexpected keyword argument 'region' > In [4]: exit > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)