From 1ccaea5b92e476ebb38a246ea933258a7199bbae Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Tue, 28 Apr 2015 10:34:06 +0100
Subject: [PATCH] Typo in port script

---
 scripts/port_from_sqlite_to_postgres.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/port_from_sqlite_to_postgres.py b/scripts/port_from_sqlite_to_postgres.py
index 1e7ac072f1..56e149c477 100644
--- a/scripts/port_from_sqlite_to_postgres.py
+++ b/scripts/port_from_sqlite_to_postgres.py
@@ -575,7 +575,7 @@ class CursesProgress(Progress):
 
         if self.finished:
             self.stdscr.addstr(
-                self.rows-1, 0,
+                rows-1, 0,
                 "Press any key to exit...",
             )
 
-- 
GitLab