Merge ~barryprice/postgresql-charm/+git/postgresql-charm:black into postgresql-charm:master

Proposed by Barry Price
Status: Merged
Approved by: 🤖 Canonical IS Review Bot
Approved revision: 59b1cb5b0301a456ae274a0ada11d84d0fb36b42
Merged at revision: 4f4bbc7e8494e1cc4d234c60d6e343a04691346d
Proposed branch: ~barryprice/postgresql-charm/+git/postgresql-charm:black
Merge into: postgresql-charm:master
Diff against target: 26 lines (+2/-2)
2 files modified
reactive/postgresql/client.py (+1/-1)
reactive/postgresql/postgresql.py (+1/-1)
Reviewer Review Type Date Requested Status
🤖 Canonical IS Review Bot Approve
Canonical IS Reviewers Pending
Review via email: mp+446387@code.launchpad.net

Commit message

Linting

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
🤖 Canonical IS Review Bot (canonical-is-reviewbot) wrote :

Proxy approval for axino

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 4f4bbc7e8494e1cc4d234c60d6e343a04691346d

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/reactive/postgresql/client.py b/reactive/postgresql/client.py
2index 9df9db3..1fde5e1 100644
3--- a/reactive/postgresql/client.py
4+++ b/reactive/postgresql/client.py
5@@ -340,7 +340,7 @@ def ensure_db_relation_resources(rel):
6 extensions = []
7 for ext in extensions_list:
8 ext_sch = ext.split(":")
9- if(len(ext_sch) < 2):
10+ if len(ext_sch) < 2:
11 ext_sch.append("public")
12 extensions.append(tuple(ext_sch))
13 postgresql.ensure_extensions(con, extensions)
14diff --git a/reactive/postgresql/postgresql.py b/reactive/postgresql/postgresql.py
15index 3101c7e..1921c76 100644
16--- a/reactive/postgresql/postgresql.py
17+++ b/reactive/postgresql/postgresql.py
18@@ -127,7 +127,7 @@ def point_version():
19 def has_version(ver):
20 """
21 PostgreSQL version greater or equal then the one provided.
22-
23+
24 Args:
25 ver: Version number to compare against
26 Returns:

Subscribers

People subscribed via source and target branches

to all changes: