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

Unified Diff: third_party/gsutil/gslib/commands/version.py

Issue 1380943003: Roll version of gsutil to 4.15. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 5 years 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
« no previous file with comments | « third_party/gsutil/gslib/commands/stat.py ('k') | third_party/gsutil/gslib/commands/web.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/gslib/commands/version.py
diff --git a/third_party/gsutil/gslib/commands/version.py b/third_party/gsutil/gslib/commands/version.py
index f07be031bb61e99fa9ee93991950255d3aea0a31..90a3c4d9ff0cd45ca8d50a39c4921fa33cc93e6d 100644
--- a/third_party/gsutil/gslib/commands/version.py
+++ b/third_party/gsutil/gslib/commands/version.py
@@ -26,8 +26,8 @@ import boto
import crcmod
import gslib
from gslib.command import Command
+from gslib.util import CheckMultiprocessingAvailableAndInit
from gslib.util import GetConfigFilePath
-from gslib.util import MultiprocessingIsAvailable
from gslib.util import UsingCrcmodExtension
@@ -120,7 +120,8 @@ class VersionCommand(Command):
boto_version=boto.__version__,
python_version=sys.version.replace('\n', ''),
os_version='%s %s' % (platform.system(), platform.release()),
- multiprocessing_available=MultiprocessingIsAvailable()[0],
+ multiprocessing_available=(
+ CheckMultiprocessingAvailableAndInit().is_available),
cloud_sdk=(os.environ.get('CLOUDSDK_WRAPPER') == '1'),
config_path=config_path,
gsutil_path=gslib.GSUTIL_PATH,
« no previous file with comments | « third_party/gsutil/gslib/commands/stat.py ('k') | third_party/gsutil/gslib/commands/web.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698