Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: third_party/gsutil/third_party/pyasn1/pyasn1/type/useful.py

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/gsutil/third_party/pyasn1/pyasn1/type/useful.py
diff --git a/third_party/gsutil/third_party/pyasn1/pyasn1/type/useful.py b/third_party/gsutil/third_party/pyasn1/pyasn1/type/useful.py
new file mode 100644
index 0000000000000000000000000000000000000000..a7139c22cef85530c0f31fa43598adb9f9515ee4
--- /dev/null
+++ b/third_party/gsutil/third_party/pyasn1/pyasn1/type/useful.py
@@ -0,0 +1,12 @@
+# ASN.1 "useful" types
+from pyasn1.type import char, tag
+
+class GeneralizedTime(char.VisibleString):
+ tagSet = char.VisibleString.tagSet.tagImplicitly(
+ tag.Tag(tag.tagClassUniversal, tag.tagFormatSimple, 24)
+ )
+
+class UTCTime(char.VisibleString):
+ tagSet = char.VisibleString.tagSet.tagImplicitly(
+ tag.Tag(tag.tagClassUniversal, tag.tagFormatSimple, 23)
+ )
« no previous file with comments | « third_party/gsutil/third_party/pyasn1/pyasn1/type/univ.py ('k') | third_party/gsutil/third_party/pyasn1/setup.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698