remove dead code
Don commented out these lines in db0d291b74
on 26 January
2007, so I think it's safe to assume they won't be missed
This commit is contained in:
parent
da8f99bab7
commit
1caffd5cc4
@ -187,26 +187,6 @@ class PackageWriter:
|
|||||||
archname = str(mobject.get_path())
|
archname = str(mobject.get_path())
|
||||||
if os.path.isfile(filename) and os.access(filename, os.R_OK):
|
if os.path.isfile(filename) and os.access(filename, os.R_OK):
|
||||||
archive.add(filename, archname)
|
archive.add(filename, archname)
|
||||||
# else:
|
|
||||||
# # File is lost => ask what to do
|
|
||||||
# if missmedia_action == 0:
|
|
||||||
# mmd = MissingMediaDialog( # no-parent
|
|
||||||
# _("Media object could not be found"),
|
|
||||||
# _("%(file_name)s is referenced in the database, "
|
|
||||||
# "but no longer exists. The file may have been "
|
|
||||||
# "deleted or moved to a different location. "
|
|
||||||
# "You may choose to either remove the reference "
|
|
||||||
# "from the database, keep the reference to the "
|
|
||||||
# "missing file, or select a new file."
|
|
||||||
# ) % { 'file_name' : filename },
|
|
||||||
# remove_clicked, leave_clicked, select_clicked)
|
|
||||||
# missmedia_action = mmd.default_action
|
|
||||||
# elif missmedia_action == 1:
|
|
||||||
# remove_clicked()
|
|
||||||
# elif missmedia_action == 2:
|
|
||||||
# leave_clicked()
|
|
||||||
# elif missmedia_action == 3:
|
|
||||||
# select_clicked()
|
|
||||||
|
|
||||||
# Write XML now
|
# Write XML now
|
||||||
g = BytesIO()
|
g = BytesIO()
|
||||||
|
Loading…
Reference in New Issue
Block a user