Make parse_connstring staticmethod less 'selfish'

This commit is contained in:
Oleksii Kliukin
2015-08-04 15:26:12 +02:00
parent f17b651107
commit 67da1b3a78
+1 -1
View File
@@ -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 = {}