From 67da1b3a786dfbc4b34913ffcc1086745ca31cd4 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Tue, 4 Aug 2015 15:26:12 +0200 Subject: [PATCH] Make parse_connstring staticmethod less 'selfish' --- scripts/restore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore.py b/scripts/restore.py index 1e0af644..84f0e1f1 100755 --- a/scripts/restore.py +++ b/scripts/restore.py @@ -30,7 +30,7 @@ class Restore: self.env = os.environ.copy() @staticmethod - def parse_connstring(self, connstring): + def parse_connstring(connstring): # the connection string is in the form host= port= user= # return the dictionary with all components as separare keys result = {}