You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/09/26 12:56:18 UTC

[1/3] git commit: Upgrade travis config - don't run tests under 2.5.

Updated Branches:
  refs/heads/trunk ed8390e29 -> bb9116940


Upgrade travis config - don't run tests under 2.5.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/dc3dbc6e
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/dc3dbc6e
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/dc3dbc6e

Branch: refs/heads/trunk
Commit: dc3dbc6e2daf4dfcbb9ae4e4fbbdcc21d1ea2b56
Parents: ed8390e
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Sep 26 12:53:48 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Sep 26 12:53:48 2013 +0200

----------------------------------------------------------------------
 .travis.yml | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/dc3dbc6e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index f8ea6f0..4210b98 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,6 @@
 language: python
 python: 2.7
 env:
-  - TOX_ENV=py25
   - TOX_ENV=py26
   - TOX_ENV=py27
   - TOX_ENV=pypy


[2/3] git commit: Revert "Disable Python 2.5 test runs under tox."

Posted by to...@apache.org.
Revert "Disable Python 2.5 test runs under tox."

This reverts commit ed8390e293f9a96c6c0f7d7555fc7a436fc3f04c.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/3eab0e50
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/3eab0e50
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/3eab0e50

Branch: refs/heads/trunk
Commit: 3eab0e50e117dabeaa384a92c64034d2b83a257f
Parents: dc3dbc6
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Sep 26 12:55:39 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Sep 26 12:55:39 2013 +0200

----------------------------------------------------------------------
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3eab0e50/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index a82c113..88a83a2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py26,py27,pypy,py32,py33,docs
+envlist = py25,py26,py27,pypy,py32,py33,docs
 setenv =
     PIP_USE_MIRRORS=1
 


[3/3] git commit: Fix pep8 violations in the doc examples.

Posted by to...@apache.org.
Fix pep8 violations in the doc examples.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/bb911694
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/bb911694
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/bb911694

Branch: refs/heads/trunk
Commit: bb9116940ffba48a1a930e7c3203bd2d8b8bbb6e
Parents: 3eab0e5
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Sep 26 12:55:49 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Sep 26 12:55:49 2013 +0200

----------------------------------------------------------------------
 docs/examples/compute/pricing.py | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/bb911694/docs/examples/compute/pricing.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/pricing.py b/docs/examples/compute/pricing.py
index 65b4933..3a9e886 100644
--- a/docs/examples/compute/pricing.py
+++ b/docs/examples/compute/pricing.py
@@ -8,12 +8,11 @@ cls = get_driver(Provider.EC2)
 driver = cls(EC2_ACCESS_ID, EC2_SECRET_KEY)
 sizes = driver.list_sizes()
 
->>> sizes[:5]
-[<NodeSize: id=t1.micro, name=Micro Instance, ram=613 disk=15 bandwidth=None price=0.02 driver=Amazon EC2 ...>,
- <NodeSize: id=m1.small, name=Small Instance, ram=1740 disk=160 bandwidth=None price=0.065 driver=Amazon EC2 ...>,
- <NodeSize: id=m1.medium, name=Medium Instance, ram=3700 disk=410 bandwidth=None price=0.13 driver=Amazon EC2 ...>,
- <NodeSize: id=m1.large, name=Large Instance, ram=7680 disk=850 bandwidth=None price=0.26 driver=Amazon EC2 ...>,
- <NodeSize: id=m1.xlarge, name=Extra Large Instance, ram=15360 disk=1690 bandwidth=None price=0.52 driver=Amazon EC2 ...>]
->>> sizes[0].price
-0.02
->>>
+# >>> sizes[:2]
+# [<NodeSize: id=t1.micro, name=Micro Instance, ram=613 disk=15 bandwidth=None
+#   price=0.02 driver=Amazon EC2 ...>,
+# <NodeSize: id=m1.small, name=Small Instance, ram=1740 disk=160 bandwidth=None
+#  price=0.065 driver=Amazon EC2 ...>,
+# >>> sizes[0].price
+# 0.02
+# >>>