Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e32d4c5

Browse filesBrowse files
author
chenyumic
authored
1 parent 56a6b16 commit e32d4c5
Copy full SHA for e32d4c5

File tree

Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed

‎appengine/standard_python37/cloudsql/main_mysql.py

Copy file name to clipboardExpand all lines: appengine/standard_python37/cloudsql/main_mysql.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
def main():
3131
# When deployed to App Engine, the `GAE_ENV` environment variable will be
3232
# set to `standard`
33-
if os.environ.get('GAE_ENV'):
33+
if os.environ.get('GAE_ENV') == 'standard':
3434
# If deployed, use the local socket interface for accessing Cloud SQL
3535
host = '/cloudsql/{}'.format(db_connection_name)
3636
else:

‎appengine/standard_python37/cloudsql/main_mysql_pooling.py

Copy file name to clipboardExpand all lines: appengine/standard_python37/cloudsql/main_mysql_pooling.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# When deployed to App Engine, the `GAE_ENV` environment variable will be
2727
# set to `standard`
28-
if os.environ.get('GAE_ENV'):
28+
if os.environ.get('GAE_ENV') == 'standard':
2929
# If deployed, use the local socket interface for accessing Cloud SQL
3030
host = '/cloudsql/{}'.format(db_connection_name)
3131
else:

‎appengine/standard_python37/cloudsql/main_postgres.py

Copy file name to clipboardExpand all lines: appengine/standard_python37/cloudsql/main_postgres.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
def main():
3131
# When deployed to App Engine, the `GAE_ENV` environment variable will be
3232
# set to `standard`
33-
if os.environ.get('GAE_ENV'):
33+
if os.environ.get('GAE_ENV') == 'standard':
3434
# If deployed, use the local socket interface for accessing Cloud SQL
3535
host = '/cloudsql/{}'.format(db_connection_name)
3636
else:

‎appengine/standard_python37/cloudsql/main_postgres_pooling.py

Copy file name to clipboardExpand all lines: appengine/standard_python37/cloudsql/main_postgres_pooling.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# When deployed to App Engine, the `GAE_ENV` environment variable will be
2727
# set to `standard`
28-
if os.environ.get('GAE_ENV'):
28+
if os.environ.get('GAE_ENV') == 'standard':
2929
# If deployed, use the local socket interface for accessing Cloud SQL
3030
host = '/cloudsql/{}'.format(db_connection_name)
3131
else:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.