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/01 09:40:04 UTC
libcloud git commit: Added comment to _utc_timestamp method. Closes
#879
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 <lo...@gmail.com>
Authored: Sat Oct 1 00:13:45 2016 -0700
Committer: Anthony Shaw <an...@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)