You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/10/05 07:37:56 UTC

[06/22] libcloud git commit: Added comment to _utc_timestamp method. Closes #879

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/33c83a95
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/33c83a95
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/33c83a95

Branch: refs/heads/trunk
Commit: 33c83a95f8ca787462a79e4d2f804e397ca3f6a7
Parents: 40c9306
Author: lpkearns <lo...@gmail.com>
Authored: Sat Oct 1 00:13:45 2016 -0700
Committer: Anthony Shaw <an...@apache.org>
Committed: Wed Oct 5 18:37:01 2016 +1100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/33c83a95/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)