/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Teddy Hogeborn
  • Date: 2014-12-21 12:54:46 UTC
  • Revision ID: teddy@recompile.se-20141221125446-bgdpi7ad9mk0o1q6
mandos (Client.config_parser): Move comment to correct place.

A comment was left behind when the code was rewritten; move the
comment to the appropriate place.

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
            client["enabled"] = config.getboolean(client_name,
488
488
                                                  "enabled")
489
489
            
 
490
            # Uppercase and remove spaces from fingerprint for later
 
491
            # comparison purposes with return value from the
 
492
            # fingerprint() function
490
493
            client["fingerprint"] = (section["fingerprint"].upper()
491
494
                                     .replace(" ", ""))
492
495
            if "secret" in section:
534
537
            self.expires = None
535
538
        
536
539
        logger.debug("Creating client %r", self.name)
537
 
        # Uppercase and remove spaces from fingerprint for later
538
 
        # comparison purposes with return value from the fingerprint()
539
 
        # function
540
540
        logger.debug("  Fingerprint: %s", self.fingerprint)
541
541
        self.created = settings.get("created",
542
542
                                    datetime.datetime.utcnow())