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

def debgtd::controller::Controller::email_to_filename (   self )
      convert the e-mail address used for a model into a
      string suitable for a filename

Definition at line 76 of file controller.py.

                                 :
            """
                  convert the e-mail address used for a model into a
                  string suitable for a filename
            """
            # XXX: can an e-mail address contain characters which
            # are not valid in a filename (e.g. /?)
            if self.model:
                  return self.model.user
            return None


Generated by  Doxygen 1.6.0   Back to index