diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-09 01:01:57 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-09 01:01:57 +0000 |
| commit | fa4696ff03260351e0755191e479fcc8026ab828 (patch) | |
| tree | 4c5586992894a3a81fea1be4916073d5d5ce2fdc /nova/db | |
| parent | e15b65f45673971480a66d17ccb771d7b7a46a30 (diff) | |
| parent | 37bfdd3b38b2d2c2f088f67e7bcc2f26c6e01c1c (diff) | |
Merge "fix N401 errors, stop ignoring all N4* errors"
Diffstat (limited to 'nova/db')
| -rw-r--r-- | nova/db/sqlalchemy/session.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nova/db/sqlalchemy/session.py b/nova/db/sqlalchemy/session.py index 5263b9674..7c52cd36c 100644 --- a/nova/db/sqlalchemy/session.py +++ b/nova/db/sqlalchemy/session.py @@ -335,8 +335,10 @@ _RE_DB = { def raise_if_duplicate_entry_error(integrity_error, engine_name): - """ In this function will be raised DBDuplicateEntry exception if integrity - error wrap unique constraint violation. """ + """ + In this function will be raised DBDuplicateEntry exception if integrity + error wrap unique constraint violation. + """ def get_columns_from_uniq_cons_or_name(columns): # note(boris-42): UniqueConstraint name convention: "uniq_c1_x_c2_x_c3" |
