Skip to content

Commit

Permalink
Bringing local __init__.py closer to upstream.
Browse files Browse the repository at this point in the history
This is so that a simple diff is possible.
  • Loading branch information
dhermes committed Dec 23, 2015
1 parent 9e746da commit 0c58512
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions gcloud_bigtable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@

"""Google Cloud Bigtable API package."""


from __future__ import print_function
import sys

try:
from grpc._adapter import _c
except ImportError as exc:
except ImportError as exc: # pragma: NO COVER
if 'libgrpc.so' in str(exc):
raise ImportError('gRPC libraries could not be located. Please see '
'instructions to locate these files. You\'ll want '
'to set your LD_LIBRARY_PATH variable to help '
'Python locate the libraries.')
else:
raise
print('gRPC libraries could not be located. Please see '
'instructions to locate these files. You\'ll want '
'to set your LD_LIBRARY_PATH variable to help '
'Python locate the libraries.', file=sys.stderr)
raise

from gcloud_bigtable.client import Client

0 comments on commit 0c58512

Please sign in to comment.