summaryrefslogtreecommitdiff
path: root/scripts/update_payload/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_payload/common.py')
-rw-r--r--scripts/update_payload/common.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/update_payload/common.py b/scripts/update_payload/common.py
index 80e25014..88cd6edc 100644
--- a/scripts/update_payload/common.py
+++ b/scripts/update_payload/common.py
@@ -44,8 +44,9 @@ class OpType(object):
ZERO = _CLASS.ZERO
DISCARD = _CLASS.DISCARD
REPLACE_XZ = _CLASS.REPLACE_XZ
+ IMGDIFF = _CLASS.IMGDIFF
ALL = (REPLACE, REPLACE_BZ, MOVE, BSDIFF, SOURCE_COPY, SOURCE_BSDIFF, ZERO,
- DISCARD, REPLACE_XZ)
+ DISCARD, REPLACE_XZ, IMGDIFF)
NAMES = {
REPLACE: 'REPLACE',
REPLACE_BZ: 'REPLACE_BZ',
@@ -55,7 +56,8 @@ class OpType(object):
SOURCE_BSDIFF: 'SOURCE_BSDIFF',
ZERO: 'ZERO',
DISCARD: 'DISCARD',
- REPLACE_XZ: 'REPLACE_XZ'
+ REPLACE_XZ: 'REPLACE_XZ',
+ IMGDIFF: 'IMGDIFF',
}
def __init__(self):