fix for some broken github edit links - avoids symlinks

This commit is contained in:
ichuang
2012-08-05 11:39:56 -04:00
parent 1ff49aa3f9
commit 3c23235885
3 changed files with 10 additions and 7 deletions

View File

@@ -98,8 +98,8 @@ class HtmlDescriptor(XmlDescriptor, EditingDescriptor):
definition = {'data' : html}
# TODO (ichuang): remove this after migration
# for Fall 2012 LMS migration: keep filename
definition['filename'] = filepath
# for Fall 2012 LMS migration: keep filename (and unmangled filename)
definition['filename'] = [ filepath, filename ]
return definition