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

def debgtd::controller::Controller::datafile (   self )
calculate the path for the current model's data

Definition at line 87 of file controller.py.

                        :
            """calculate the path for the current model's data"""
            if self.model:
                  base=os.environ["HOME"] + "/.local/share"
                  if "XDG_DATA_HOME" in os.environ:
                        base= os.environ["XDG_DATA_HOME"]
                  df = base + "/debgtd/" + self.email_to_filename()
                  return df 
            return None


Generated by  Doxygen 1.6.0   Back to index