From fb0f9b61ef1c6d96795bd7e40d90c509fad83b29 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Fri, 8 Apr 2016 08:46:03 +0000
Subject: [PATCH] Task #8887: extra line between sections

---
 LCS/PyCommon/postgres.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/LCS/PyCommon/postgres.py b/LCS/PyCommon/postgres.py
index ceefb87eab8..2db1316e191 100644
--- a/LCS/PyCommon/postgres.py
+++ b/LCS/PyCommon/postgres.py
@@ -110,7 +110,7 @@ def makePostgresNotificationQueries(schema, table, action, view_for_row=None, vi
                table=table)
 
     sql = drop_sql + '\n' + function_sql + '\n' + trigger_sql
-    sql_lines = '\n'.join([s.strip() for s in sql.split('\n')])
+    sql_lines = '\n'.join([s.strip() for s in sql.split('\n')]) + '\n'
     return sql_lines
 
 class PostgresListener(object):
-- 
GitLab