Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandas/io/gbq.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
_GOOGLE_API_CLIENT_INSTALLED=True
_GOOGLE_API_CLIENT_VERSION = pkg_resources.get_distribution('google-api-python-client').version

if LooseVersion(_GOOGLE_API_CLIENT_VERSION >= '1.2.0'):
if LooseVersion(_GOOGLE_API_CLIENT_VERSION) >= '1.2.0':
_GOOGLE_API_CLIENT_VALID_VERSION = True

except ImportError:
Expand All @@ -56,7 +56,7 @@

_GOOGLE_FLAGS_VERSION = pkg_resources.get_distribution('python-gflags').version

if LooseVersion(_GOOGLE_FLAGS_VERSION >= '2.0.0'):
if LooseVersion(_GOOGLE_FLAGS_VERSION) >= '2.0':
_GOOGLE_FLAGS_VALID_VERSION = True

except ImportError:
Expand Down