* src/docgen/AsciiDoc.py: Add to CVS.

* src/Makefile.am, src/Makefile.in: Ship AsciiDoc.py.


svn: r2929
This commit is contained in:
Alex Roitman
2004-02-29 00:04:45 +00:00
parent f60a720646
commit 8e733036f2
7 changed files with 380 additions and 10 deletions

View File

@ -204,11 +204,11 @@ def importData(database, filename, callback,cl=0):
#-------------------------------------------------------------------------
# # Rename media files if they were conflicting with existing ones
# ObjectMap = database.get_object_map()
# newpath = database.get_save_path()
# for OldMediaID in parser.MediaFileMap.keys():
# NewMediaID = parser.MediaFileMap[OldMediaID]
# oldfile = ObjectMap[NewMediaID].get_path()
# for old_media_id in parser.media_file_map.keys():
# new_media_id = parser.MediaFileMap[old_media_id]
# new_media = database.find_object_from_id(new_media_id)
# oldfile = new_media.get_path()
# (junk,oldext) = os.path.splitext(os.path.basename(oldfile))
# oldfile = os.path.join(basefile,OldMediaID+oldext)
# newfile = os.path.join(newpath,NewMediaID+oldext)