Logo Search packages:      
Sourcecode: rapache version File versions  Download package

def rapache-0.7.orig::plugins::basic_authentication::htpasswd::Htpasswd::load (   self,
  content 
)

Read the htpasswd file into memory.

Definition at line 72 of file htpasswd.py.

00072                            :
        """Read the htpasswd file into memory."""
        lines = content.split("\n")
        self.entries = []
        for line in lines:
            if line.strip():
                username, pwhash = line.split(':')
                entry = [username, pwhash.rstrip()]
                self.entries.append(entry)
        self.loaded = True
        
    def save(self):


Generated by  Doxygen 1.6.0   Back to index