libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject libcloud git commit: Added comment to _utc_timestamp method. Closes #879
Date Sat, 01 Oct 2016 09:40:04 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 8f88c38ed -> 2a1d55c2b


Added comment to _utc_timestamp method.
Closes #879


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

Branch: refs/heads/trunk
Commit: 2a1d55c2bacdaa9ef25407f918f62ff28d3b8a59
Parents: 8f88c38
Author: lpkearns <loganpkearns@gmail.com>
Authored: Sat Oct 1 00:13:45 2016 -0700
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Sat Oct 1 19:39:49 2016 +1000

----------------------------------------------------------------------
 libcloud/common/google.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2a1d55c2/libcloud/common/google.py
----------------------------------------------------------------------
diff --git a/libcloud/common/google.py b/libcloud/common/google.py
index 75f342c..725aaba 100644
--- a/libcloud/common/google.py
+++ b/libcloud/common/google.py
@@ -113,6 +113,9 @@ def _utcnow():
 
 
 def _utc_timestamp(datetime_obj):
+    """
+    Return string of datetime_obj in the UTC Timestamp Format
+    """
     return datetime_obj.strftime(UTC_TIMESTAMP_FORMAT)
 
 


Mime
View raw message