summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/creation.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-01-19 14:13:58 -0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-20 11:44:28 +0100
commit26be703fe679a58bbdccf37a276a9c430ccb29f7 (patch)
treeff6e67e3724853a898837871b274e247f9d594bc /django/db/backends/postgresql/creation.py
parentb64b1b2e1a17da3fd702cde4bfc2b6e0689b4348 (diff)
downloaddjango-26be703fe679a58bbdccf37a276a9c430ccb29f7.tar.gz
Changed re-raising an exception to use bare raise syntax where appropriate.
Diffstat (limited to 'django/db/backends/postgresql/creation.py')
-rw-r--r--django/db/backends/postgresql/creation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/creation.py b/django/db/backends/postgresql/creation.py
index 09af818b1e..0cb26a4341 100644
--- a/django/db/backends/postgresql/creation.py
+++ b/django/db/backends/postgresql/creation.py
@@ -48,7 +48,7 @@ class DatabaseCreation(BaseDatabaseCreation):
elif not keepdb:
# If the database should be kept, ignore "database already
# exists".
- raise e
+ raise
def _clone_test_db(self, suffix, verbosity, keepdb=False):
# CREATE DATABASE ... WITH TEMPLATE ... requires closing connections