71
71
return "<Fake %s %s>"%(self.type, self.name)
75
74
"""Given a path relative to the IVLE root, makes the path relative to the
76
75
site root using ivle.conf.root_dir. This path can be used in URLs sent to
78
77
return os.path.join(ivle.conf.root_dir, path)
87
80
"""Given a path relative to the site root, makes the path relative to the
88
81
IVLE root by removing ivle.conf.root_dir if it appears at the beginning. If