(self, passfile)
Load .pgpass contents
Load .pgpass contents
Load . pgpass contents
def __init__(self, passfile):
        """Load .pgpass contents"""
        self.passfile = os.path.expanduser(passfile)
        self.contents = []

        if os.path.isfile(self.passfile):
            self.contents = open(self.passfile).readlines()
def __init__ ( self , passfile ) : self . passfile = os . path . expanduser ( passfile ) self . contents = [ ] if os . path . isfile ( self . passfile ) : self . contents = open ( self . passfile ) . readlines ( )