Backed out changeset 1e44f391a3cb (bug 1230060)

This commit is contained in:
Carsten "Tomcat" Book 2015-12-04 15:17:38 +01:00
Родитель 774dac6729
Коммит 3e46254e72
1 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

@ -85,8 +85,6 @@ class InstallManifest(object):
FIELD_SEPARATOR = '\x1f'
# Negative values are reserved for non-actionable items, that is, metadata
# that doesn't describe files in the destination.
SYMLINK = 1
COPY = 2
REQUIRED_EXISTS = 3
@ -165,11 +163,8 @@ class InstallManifest(object):
silence_missing_directive_warnings=bool(int(warnings)))
continue
# Don't fail for non-actionable items, allowing
# forward-compatibility with those we will add in the future.
if record_type >= 0:
raise UnreadableInstallManifest('Unknown record type: %d' %
record_type)
raise UnreadableInstallManifest('Unknown record type: %d' %
record_type)
def __len__(self):
return len(self._dests)