libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject git commit: Fixed many typos in the code and docs.
Date Sun, 27 Apr 2014 09:00:27 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 8c331063e -> d69adbd88


Fixed many typos in the code and docs.

Found using: https://github.com/intgr/topy

Closes #282

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


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

Branch: refs/heads/trunk
Commit: d69adbd886965c7b176b9713cdad2f954d041c3c
Parents: 8c33106
Author: Alex Gaynor <alex.gaynor@gmail.com>
Authored: Sat Apr 26 10:37:42 2014 -0700
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Sun Apr 27 10:55:09 2014 +0200

----------------------------------------------------------------------
 CHANGES.rst                                | 10 +++++-----
 demos/gce_lb_demo.py                       |  2 +-
 docs/compute/drivers/cloudsigma.rst        |  2 +-
 docs/compute/drivers/gce.rst               |  2 +-
 docs/development.rst                       |  2 +-
 docs/dns/drivers/hostvirtual.rst           |  2 +-
 libcloud/__init__.py                       |  2 +-
 libcloud/common/base.py                    |  2 +-
 libcloud/common/google.py                  |  4 ++--
 libcloud/compute/base.py                   |  8 ++++----
 libcloud/compute/deployment.py             |  4 ++--
 libcloud/compute/drivers/abiquo.py         |  2 +-
 libcloud/compute/drivers/cloudframes.py    |  2 +-
 libcloud/compute/drivers/cloudsigma.py     |  2 +-
 libcloud/compute/drivers/ec2.py            |  4 ++--
 libcloud/compute/drivers/elasticstack.py   |  2 +-
 libcloud/compute/drivers/gce.py            |  2 +-
 libcloud/compute/drivers/gogrid.py         |  2 +-
 libcloud/compute/drivers/opsource.py       |  2 +-
 libcloud/compute/ssh.py                    |  8 ++++----
 libcloud/loadbalancer/drivers/rackspace.py |  2 +-
 libcloud/storage/base.py                   |  4 ++--
 libcloud/storage/drivers/cloudfiles.py     |  2 +-
 libcloud/storage/drivers/local.py          |  2 +-
 libcloud/test/common/test_cloudstack.py    |  2 +-
 libcloud/test/compute/test_ec2.py          |  2 +-
 libcloud/test/compute/test_ibm_sce.py      |  4 ++--
 libcloud/test/test_connection.py           |  2 +-
 libcloud/utils/dist.py                     |  2 +-
 libcloud/utils/networking.py               |  2 +-
 30 files changed, 45 insertions(+), 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 7150322..1ba169f 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -226,7 +226,7 @@ Compute
   authentication to not allow insecure connections (secure constructor
   kwarg being set to False) by default.
 
-  This way credentials can't accidentaly be sent in plain text over the
+  This way credentials can't accidentally be sent in plain text over the
   write.
 
   Affected drivers: Bluebox, Joyent, NephoScale, OpSource, VPSNet
@@ -1609,7 +1609,7 @@ Storage
   CloudFiles driver.
   [Tomaz Muraus]
 
-- Fix a bug with content_type and and encoding of object and path names in
+- Fix a bug with content_type and encoding of object and path names in
   the Atmos driver.
   [Russell Keith-Magee]
 
@@ -1787,7 +1787,7 @@ Compute
   Node extra dictionary. (LIBCLOUD-163)
   [Chris Gilmer]
 
-- Alow users to use a list of tuples for the query string parameters inside
+- Allow users to use a list of tuples for the query string parameters inside
   the OpenStack connection classes. This way same key can be specified
   multiple times (LIBCLOUD-153)
   [Dave King]
@@ -2273,7 +2273,7 @@ Compute
   available
   [Tomaz Muraus]
 
-- Fix chmod argument value which is pased to the sftpclient.put
+- Fix chmod argument value which is passed to the sftpclient.put
   method; GITHUB-17
   [John Carr]
 
@@ -2437,7 +2437,7 @@ Changes with Apache Libcloud 0.4.2 (Released January 18, 2011)
   [Peter Herndon]
 
 - EC2 Driver availability zones, via ex_list_availability_zones;
-  list_locations rewrite to include availablity zones
+  list_locations rewrite to include availability zones
   [Tomaz Muraus]
 
 - EC2 Driver Idempotency capability in create_node; LIBCLOUD-69

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/demos/gce_lb_demo.py
----------------------------------------------------------------------
diff --git a/demos/gce_lb_demo.py b/demos/gce_lb_demo.py
index e977ac7..8d0fa53 100755
--- a/demos/gce_lb_demo.py
+++ b/demos/gce_lb_demo.py
@@ -96,7 +96,7 @@ def get_gce_driver():
 def get_gcelb_driver(gce_driver=None):
     # The GCE Load Balancer driver uses the GCE Compute driver for all of its
     # API calls.  You can either provide the driver directly, or provide the
-    # same authentication information so the the LB driver can get its own
+    # same authentication information so the LB driver can get its own
     # Compute driver.
     if gce_driver:
         driver = get_driver_lb(Provider_lb.GCE)(gce_driver=gce_driver)

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/docs/compute/drivers/cloudsigma.rst
----------------------------------------------------------------------
diff --git a/docs/compute/drivers/cloudsigma.rst b/docs/compute/drivers/cloudsigma.rst
index 95d0864..aa17f41 100644
--- a/docs/compute/drivers/cloudsigma.rst
+++ b/docs/compute/drivers/cloudsigma.rst
@@ -217,7 +217,7 @@ server. This examples shows how to do that upon server creation.
 Add a tag to the server
 ~~~~~~~~~~~~~~~~~~~~~~~
 
-CloudSigma allows you to ogranize resources such as servers and drivers by
+CloudSigma allows you to organize resources such as servers and drivers by
 tagging them. This example shows how to do that.
 
 .. literalinclude:: /examples/compute/cloudsigma/tag_server.py

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/docs/compute/drivers/gce.rst
----------------------------------------------------------------------
diff --git a/docs/compute/drivers/gce.rst b/docs/compute/drivers/gce.rst
index dc76204..a6b6b71 100644
--- a/docs/compute/drivers/gce.rst
+++ b/docs/compute/drivers/gce.rst
@@ -13,7 +13,7 @@ It is a part of Google Cloud Platform.
 Google Compute Engine features:
 
 * High-performance virtual machines
-* Minute-level billing (10-minute minumum)
+* Minute-level billing (10-minute minimum)
 * Fast VM provisioning
 * Native Load Balancing
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/docs/development.rst
----------------------------------------------------------------------
diff --git a/docs/development.rst b/docs/development.rst
index b3ef500..3bd9ea4 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -443,7 +443,7 @@ Contributing Bigger Changes
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 If you are contributing a bigger change (e.g. large new feature or a new
-provider driver) you need to have have signed Apache Individual Contributor
+provider driver) you need to have signed Apache Individual Contributor
 License Agreement (ICLA) in order to have your patch accepted.
 
 You can find more information on how to sign and file an ICLA on the

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/docs/dns/drivers/hostvirtual.rst
----------------------------------------------------------------------
diff --git a/docs/dns/drivers/hostvirtual.rst b/docs/dns/drivers/hostvirtual.rst
index 56e5e01..fd1337e 100644
--- a/docs/dns/drivers/hostvirtual.rst
+++ b/docs/dns/drivers/hostvirtual.rst
@@ -1,7 +1,7 @@
 HostVirtual DNS Driver Documentation
 ====================================
 
-`Host Virtual`_ is is a cloud hosting provider that operates dual-stack IPv4
+`Host Virtual`_ is a cloud hosting provider that operates dual-stack IPv4
 and IPv6 IaaS clouds in 15 locations worldwide.
 
 Instantiating a driver

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/__init__.py
----------------------------------------------------------------------
diff --git a/libcloud/__init__.py b/libcloud/__init__.py
index 6a86bb3..04de453 100644
--- a/libcloud/__init__.py
+++ b/libcloud/__init__.py
@@ -51,7 +51,7 @@ def _init_once():
     """
     Utility function that is ran once on Library import.
 
-    This checks for the LIBCLOUD_DEBUG enviroment variable, which if it exists
+    This checks for the LIBCLOUD_DEBUG environment variable, which if it exists
     is where we will log debug information about the provider transports.
     """
     path = os.getenv('LIBCLOUD_DEBUG')

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/common/base.py
----------------------------------------------------------------------
diff --git a/libcloud/common/base.py b/libcloud/common/base.py
index 8537c07..5848c59 100644
--- a/libcloud/common/base.py
+++ b/libcloud/common/base.py
@@ -544,7 +544,7 @@ class Connection(object):
         """
         Append a token to a user agent string.
 
-        Users of the library should call this to uniquely identify thier
+        Users of the library should call this to uniquely identify their
         requests to a provider.
 
         :type token: ``str``

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/common/google.py
----------------------------------------------------------------------
diff --git a/libcloud/common/google.py b/libcloud/common/google.py
index a850751..9d8000c 100644
--- a/libcloud/common/google.py
+++ b/libcloud/common/google.py
@@ -403,7 +403,7 @@ class GoogleServiceAcctAuthConnection(GoogleBaseAuthConnection):
         """
         if SHA256 is None:
             raise GoogleAuthError('PyCrypto library required for '
-                                  'Service Accout Authentication.')
+                                  'Service Account Authentication.')
         # Check to see if 'key' is a file and read the file if it is.
         keypath = os.path.expanduser(key)
         is_file_path = os.path.exists(keypath) and os.path.isfile(keypath)
@@ -454,7 +454,7 @@ class GoogleServiceAcctAuthConnection(GoogleBaseAuthConnection):
         Service Account authentication doesn't supply a "refresh token" so
         this simply gets a new token using the email address/key.
 
-        :param  token_info: Dictionary contining token information.
+        :param  token_info: Dictionary containing token information.
                             (Not used, but here for compatibility)
         :type   token_info: ``dict``
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/base.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py
index df6d296..6d24f3f 100644
--- a/libcloud/compute/base.py
+++ b/libcloud/compute/base.py
@@ -751,7 +751,7 @@ class NodeDriver(BaseDriver):
         :type image:  :class:`.NodeImage`
 
         :param location: Which data center to create a node in. If empty,
-                              undefined behavoir will be selected. (optional)
+                              undefined behavior will be selected. (optional)
         :type location: :class:`.NodeLocation`
 
         :param auth:   Initial authentication information for the node
@@ -810,7 +810,7 @@ class NodeDriver(BaseDriver):
         existing implementation should be able to handle most such.
 
         :param deploy: Deployment to run once machine is online and
-                            availble to SSH.
+                            available to SSH.
         :type deploy: :class:`Deployment`
 
         :param ssh_username: Optional name of the account which is used
@@ -919,7 +919,7 @@ class NodeDriver(BaseDriver):
                 e = sys.exc_info()[1]
                 deploy_error = e
             else:
-                # Script sucesfully executed, don't try alternate username
+                # Script successfully executed, don't try alternate username
                 deploy_error = None
                 break
 
@@ -991,7 +991,7 @@ class NodeDriver(BaseDriver):
         :type name: ``str``
 
         :param location: Which data center to create a volume in. If
-                               empty, undefined behavoir will be selected.
+                               empty, undefined behavior will be selected.
                                (optional)
         :type location: :class:`.NodeLocation`
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/deployment.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/deployment.py b/libcloud/compute/deployment.py
index 5cfc2c6..018c5f8 100644
--- a/libcloud/compute/deployment.py
+++ b/libcloud/compute/deployment.py
@@ -136,7 +136,7 @@ class ScriptDeployment(Deployment):
 
         :type name: ``str``
         :keyword name: Name of the script to upload it as, if not specified,
-                       a random name will be choosen.
+                       a random name will be chosen.
 
         :type delete: ``bool``
         :keyword delete: Whether to delete the script on completion.
@@ -210,7 +210,7 @@ class ScriptFileDeployment(ScriptDeployment):
 
         :type name: ``str``
         :keyword name: Name of the script to upload it as, if not specified,
-                       a random name will be choosen.
+                       a random name will be chosen.
 
         :type delete: ``bool``
         :keyword delete: Whether to delete the script on completion.

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/abiquo.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/abiquo.py b/libcloud/compute/drivers/abiquo.py
index ab74778..edf2f25 100644
--- a/libcloud/compute/drivers/abiquo.py
+++ b/libcloud/compute/drivers/abiquo.py
@@ -99,7 +99,7 @@ class AbiquoNodeDriver(NodeDriver):
         :type       image:  :class:`NodeImage`
 
         :keyword    location: Which data center to create a node in. If empty,
-                              undefined behavoir will be selected. (optional)
+                              undefined behavior will be selected. (optional)
         :type       location: :class:`NodeLocation`
 
         :keyword   group_name:  Which group this node belongs to. If empty,

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/cloudframes.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudframes.py b/libcloud/compute/drivers/cloudframes.py
index 68f74cc..9902f5d 100644
--- a/libcloud/compute/drivers/cloudframes.py
+++ b/libcloud/compute/drivers/cloudframes.py
@@ -18,7 +18,7 @@ CloudFrames Driver
 
 """
 
-# (name, ram, disk, bandwith, price, vcpus)
+# (name, ram, disk, bandwidth, price, vcpus)
 SIZES = [
     ('512mb_1core_10gb', 512, 10, 512, 0.025, 1),
     ('1024mb_1core_20gb', 1024, 20, 512, 0.05, 1),

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/cloudsigma.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudsigma.py b/libcloud/compute/drivers/cloudsigma.py
index 5d97434..55e472f 100644
--- a/libcloud/compute/drivers/cloudsigma.py
+++ b/libcloud/compute/drivers/cloudsigma.py
@@ -673,7 +673,7 @@ class CloudSigmaError(ProviderError):
         :param error_msg: A description of the error that occurred.
         :type error_msg: ``str``
 
-        :param error_point: Point at which the error occured. Can be None.
+        :param error_point: Point at which the error occurred. Can be None.
         :type error_point: ``str`` or ``None``
         """
         super(CloudSigmaError, self).__init__(http_code=http_code,

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 6c5e10d..692282e 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -1219,7 +1219,7 @@ class EC2NetworkInterface(object):
 
 class ElasticIP(object):
     """
-    Represents information about an elastic IP adddress
+    Represents information about an elastic IP address
 
     :param      ip: The elastic IP address
     :type       ip: ``str``
@@ -2035,7 +2035,7 @@ class BaseEC2NodeDriver(NodeDriver):
 
     def ex_create_security_group(self, name, description, vpc_id=None):
         """
-        Creates a new Security Group in EC2-Classic or a targetted VPC.
+        Creates a new Security Group in EC2-Classic or a targeted VPC.
 
         :param      name:        The name of the security group to Create.
                                  This must be unique.

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/elasticstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/elasticstack.py b/libcloud/compute/drivers/elasticstack.py
index cced69c..da3863a 100644
--- a/libcloud/compute/drivers/elasticstack.py
+++ b/libcloud/compute/drivers/elasticstack.py
@@ -254,7 +254,7 @@ class ElasticStackBaseNodeDriver(NodeDriver):
         if nic_model not in ('e1000', 'rtl8139', 'virtio'):
             raise ElasticStackException('Invalid NIC model specified')
 
-        # check that drive size is not smaller then pre installed image size
+        # check that drive size is not smaller than pre installed image size
 
         # First we create a drive with the specified size
         drive_data = {}

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 690dd03..0b340b3 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -592,7 +592,7 @@ class GCENodeDriver(NodeDriver):
 
     def ex_list_addresses(self, region=None):
         """
-        Return a list of static addreses for a region or all.
+        Return a list of static addresses for a region or all.
 
         :keyword  region: The region to return addresses from. For example:
                           'us-central1'.  If None, will return addresses from

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/gogrid.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gogrid.py b/libcloud/compute/drivers/gogrid.py
index f9c0259..cc24252 100644
--- a/libcloud/compute/drivers/gogrid.py
+++ b/libcloud/compute/drivers/gogrid.py
@@ -258,7 +258,7 @@ class GoGridNodeDriver(BaseGoGridDriver, NodeDriver):
         """Don't block until GoGrid allocates id for a node
         but return right away with id == None.
 
-        The existance of this method is explained by the fact
+        The existence of this method is explained by the fact
         that GoGrid assigns id to a node only few minutes after
         creation.
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/drivers/opsource.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/opsource.py b/libcloud/compute/drivers/opsource.py
index 9d43ca4..d40155c 100644
--- a/libcloud/compute/drivers/opsource.py
+++ b/libcloud/compute/drivers/opsource.py
@@ -36,7 +36,7 @@ from libcloud.compute.types import NodeState, Provider
 # Roadmap / TODO:
 #
 # 0.1 - Basic functionality:  create, delete, start, stop, reboot - servers
-#                      (base OS images only, no customer images suported yet)
+#                      (base OS images only, no customer images supported yet)
 #   x implement list_nodes()
 #   x implement create_node()  (only support Base OS images,
 #                                no customer images yet)

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/compute/ssh.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/ssh.py b/libcloud/compute/ssh.py
index b200238..7fb1af2 100644
--- a/libcloud/compute/ssh.py
+++ b/libcloud/compute/ssh.py
@@ -80,8 +80,8 @@ class BaseSSHClient(object):
         """
         Connect to the remote node over SSH.
 
-        :return: True if the connection has been successfuly established, False
-                 otherwise.
+        :return: True if the connection has been successfully established,
+                 False otherwise.
         :rtype: ``bool``
         """
         raise NotImplementedError(
@@ -116,7 +116,7 @@ class BaseSSHClient(object):
         :type path: ``str``
         :keyword path: File path on the remote node.
 
-        :return: True if the file has been successfuly deleted, False
+        :return: True if the file has been successfully deleted, False
                  otherwise.
         :rtype: ``bool``
         """
@@ -139,7 +139,7 @@ class BaseSSHClient(object):
         """
         Shutdown connection to the remote node.
 
-        :return: True if the connection has been successfuly closed, False
+        :return: True if the connection has been successfully closed, False
                  otherwise.
         :rtype: ``bool``
         """

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/loadbalancer/drivers/rackspace.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/rackspace.py b/libcloud/loadbalancer/drivers/rackspace.py
index 1807ed6..bf2a13c 100644
--- a/libcloud/loadbalancer/drivers/rackspace.py
+++ b/libcloud/loadbalancer/drivers/rackspace.py
@@ -157,7 +157,7 @@ class RackspaceConnectionThrottle(object):
                             before applying throttling.
     :type min_connections: ``int``
 
-    :param max_connections: Maximum number of of connections per IP address.
+    :param max_connections: Maximum number of connections per IP address.
                             (Must be between 0 and 100000, 0 allows an
                             unlimited number of connections.)
     :type max_connections: ``int``

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/storage/base.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/base.py b/libcloud/storage/base.py
index 136d701..f12b906 100644
--- a/libcloud/storage/base.py
+++ b/libcloud/storage/base.py
@@ -667,7 +667,7 @@ class StorageDriver(BaseDriver):
         :param data: Data to upload.
 
         :type calculate_hash: ``bool``
-        :param calculate_hash: True to calculate hash of the transfered data.
+        :param calculate_hash: True to calculate hash of the transferred data.
                                (defauls to True).
 
         :rtype: ``tuple``
@@ -713,7 +713,7 @@ class StorageDriver(BaseDriver):
                         (defauls to False).
 
         :type calculate_hash: ``bool``
-        :param calculate_hash: True to calculate hash of the transfered data.
+        :param calculate_hash: True to calculate hash of the transferred data.
                                (defauls to True).
 
         :type chunk_size: ``int``

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/storage/drivers/cloudfiles.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/drivers/cloudfiles.py b/libcloud/storage/drivers/cloudfiles.py
index ff3e676..a828490 100644
--- a/libcloud/storage/drivers/cloudfiles.py
+++ b/libcloud/storage/drivers/cloudfiles.py
@@ -790,7 +790,7 @@ class CloudFilesStorageDriver(StorageDriver, OpenStackDriverMixin):
         return name
 
     def _to_container_list(self, response):
-        # @TODO: Handle more then 10k containers - use "lazy list"?
+        # @TODO: Handle more than 10k containers - use "lazy list"?
         for container in response:
             extra = {'object_count': int(container['count']),
                      'size': int(container['bytes'])}

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/storage/drivers/local.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/drivers/local.py b/libcloud/storage/drivers/local.py
index cfcf410..5e326f9 100644
--- a/libcloud/storage/drivers/local.py
+++ b/libcloud/storage/drivers/local.py
@@ -253,7 +253,7 @@ class LocalStorageDriver(StorageDriver):
         :param container: Container instance
         :type  container: :class:`Container`
 
-        :param check: Indicates if the path's existance must be checked
+        :param check: Indicates if the path's existence must be checked
         :type check: ``bool``
 
         :return: A CDN URL for this container.

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/test/common/test_cloudstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/common/test_cloudstack.py b/libcloud/test/common/test_cloudstack.py
index 5a86757..2412d5c 100644
--- a/libcloud/test/common/test_cloudstack.py
+++ b/libcloud/test/common/test_cloudstack.py
@@ -36,7 +36,7 @@ async_delay = 0
 
 
 class CloudStackMockDriver(object):
-    host = 'nonexistant.'
+    host = 'nonexistent.'
     path = '/path'
     async_poll_frequency = 0
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/test/compute/test_ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_ec2.py b/libcloud/test/compute/test_ec2.py
index 6d66545..9832408 100644
--- a/libcloud/test/compute/test_ec2.py
+++ b/libcloud/test/compute/test_ec2.py
@@ -849,7 +849,7 @@ class EC2Tests(LibcloudTestCase, TestCaseMixin):
         self.driver.create_node(name='foo', image=image, size=size,
                                 ex_security_groups=security_groups)
 
-        # Test old and new arguments are mutally exclusive
+        # Test old and new arguments are mutually exclusive
         self.assertRaises(ValueError, self.driver.create_node,
                           name='foo', image=image, size=size,
                           ex_securitygroup=security_groups,

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/test/compute/test_ibm_sce.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_ibm_sce.py b/libcloud/test/compute/test_ibm_sce.py
index b81416f..55071a4 100644
--- a/libcloud/test/compute/test_ibm_sce.py
+++ b/libcloud/test/compute/test_ibm_sce.py
@@ -127,7 +127,7 @@ class IBMTests(unittest.TestCase, TestCaseMixin):
         ret = self.driver.destroy_node(toDelete)
         self.assertTrue(ret)
 
-        # Delete non-existant node
+        # Delete non-existent node
         IBMMockHttp.type = 'DELETED'
         nodes = self.driver.list_nodes()            # retrieves 2 nodes
         self.assertEqual(len(nodes), 2)
@@ -313,7 +313,7 @@ class IBMMockHttp(MockHttp):
         body = self.fixtures.load('list_storage_offerings.xml')
         return (httplib.OK, body, {}, httplib.responses[httplib.OK])
 
-    # This is only to accomodate the response tests built into test\__init__.py
+    # This is only to accommodate the response tests built into test\__init__.py
     def _computecloud_enterprise_api_rest_20100331_instances_26557(self, method, url, body,
headers):
         if method == 'DELETE':
             body = self.fixtures.load('delete.xml')

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/test/test_connection.py
----------------------------------------------------------------------
diff --git a/libcloud/test/test_connection.py b/libcloud/test/test_connection.py
index ae09c7a..ed8999d 100644
--- a/libcloud/test/test_connection.py
+++ b/libcloud/test/test_connection.py
@@ -64,7 +64,7 @@ class ConnectionClassTestCase(unittest.TestCase):
         self.assertTrue('Content-Length' not in call_kwargs['headers'])
 
         # 'a' as data, content length should be present (data in GET is not
-        # corect, but anyways)
+        # correct, but anyways)
         con.request('/test', method='GET', data='a')
         call_kwargs = con.connection.request.call_args[1]
         self.assertEqual(call_kwargs['headers']['Content-Length'], '1')

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/utils/dist.py
----------------------------------------------------------------------
diff --git a/libcloud/utils/dist.py b/libcloud/utils/dist.py
index 3b9b8a7..4477e2a 100644
--- a/libcloud/utils/dist.py
+++ b/libcloud/utils/dist.py
@@ -20,7 +20,7 @@
 import os
 import fnmatch
 
-# Names that are exluded from globbing results:
+# Names that are excluded from globbing results:
 EXCLUDE_NAMES = ['{arch}', 'CVS', '.cvsignore', '_darcs',
                  'RCS', 'SCCS', '.svn']
 EXCLUDE_PATTERNS = ['*.py[cdo]', '*.s[ol]', '.#*', '*~', '*.py']

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d69adbd8/libcloud/utils/networking.py
----------------------------------------------------------------------
diff --git a/libcloud/utils/networking.py b/libcloud/utils/networking.py
index d9678ed..f7dca9b 100644
--- a/libcloud/utils/networking.py
+++ b/libcloud/utils/networking.py
@@ -62,7 +62,7 @@ def is_public_subnet(ip):
 
 def is_valid_ip_address(address, family=socket.AF_INET):
     """
-    Check if the provided address is valid IPv4 or IPv6 adddress.
+    Check if the provided address is valid IPv4 or IPv6 address.
 
     :param address: IPv4 or IPv6 ddress to check.
     :type address: ``str``


Mime
View raw message