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

Unified Diff: third_party/gsutil/third_party/crcmod_osx/crcmod/__init__.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/crcmod_osx/crcmod/__init__.py
diff --git a/third_party/gsutil/third_party/crcmod_osx/crcmod/__init__.py b/third_party/gsutil/third_party/crcmod_osx/crcmod/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..80f2ac3e6e1b3c2efb82a559a4de889233ac09f1
--- /dev/null
+++ b/third_party/gsutil/third_party/crcmod_osx/crcmod/__init__.py
@@ -0,0 +1,8 @@
+try:
+ from crcmod.crcmod import *
+ import crcmod.predefined
+except ImportError:
+ # Make this backward compatible
+ from crcmod import *
+ import predefined
+__doc__ = crcmod.__doc__
« no previous file with comments | « third_party/gsutil/third_party/crcmod_osx/README.md ('k') | third_party/gsutil/third_party/crcmod_osx/crcmod/_crcfunext.so » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698