|
23 | 23 | ImageTooLarge, |
24 | 24 | InactiveProject, |
25 | 25 | MetadataTooLarge, |
26 | | -<<<<<<< HEAD |
27 | 26 | ProjectInactive, |
28 | 27 | RequestQuotaReached, |
29 | 28 | RequestTimeTooSkewed, |
30 | 29 | TargetNameExist, |
31 | 30 | TargetStatusNotSuccess, |
32 | | -======= |
33 | | - TargetNameExist, |
34 | | ->>>>>>> origin/master |
35 | 31 | TargetStatusProcessing, |
36 | 32 | UnknownTarget, |
37 | 33 | ) |
@@ -124,27 +120,20 @@ class _ResultCodes(Enum): |
124 | 120 |
|
125 | 121 |
|
126 | 122 | _EXCEPTIONS = { |
127 | | -<<<<<<< HEAD |
128 | 123 | _ResultCodes.AUTHENTICATION_FAILURE: AuthenticationFailure, |
129 | | - _ResultCodes.REQUEST_TIME_TOO_SKEWED: RequestTimeTooSkewed, |
130 | | - _ResultCodes.TARGET_NAME_EXIST: TargetNameExist, |
131 | | - _ResultCodes.UNKNOWN_TARGET: UnknownTarget, |
132 | 124 | _ResultCodes.BAD_IMAGE: BadImage, |
133 | | - _ResultCodes.IMAGE_TOO_LARGE: ImageTooLarge, |
134 | | - _ResultCodes.METADATA_TOO_LARGE: MetadataTooLarge, |
135 | 125 | _ResultCodes.DATE_RANGE_ERROR: DateRangeError, |
136 | 126 | _ResultCodes.FAIL: Fail, |
137 | | - _ResultCodes.TARGET_STATUS_PROCESSING: TargetStatusProcessing, |
138 | | - _ResultCodes.REQUEST_QUOTA_REACHED: RequestQuotaReached, |
139 | | - _ResultCodes.TARGET_STATUS_NOT_SUCCESS: TargetStatusNotSuccess, |
140 | | - _ResultCodes.PROJECT_INACTIVE: ProjectInactive, |
| 127 | + _ResultCodes.IMAGE_TOO_LARGE: ImageTooLarge, |
141 | 128 | _ResultCodes.INACTIVE_PROJECT: InactiveProject, |
142 | | -======= |
143 | 129 | _ResultCodes.METADATA_TOO_LARGE: MetadataTooLarge, |
| 130 | + _ResultCodes.PROJECT_INACTIVE: ProjectInactive, |
| 131 | + _ResultCodes.REQUEST_QUOTA_REACHED: RequestQuotaReached, |
| 132 | + _ResultCodes.REQUEST_TIME_TOO_SKEWED: RequestTimeTooSkewed, |
144 | 133 | _ResultCodes.TARGET_NAME_EXIST: TargetNameExist, |
| 134 | + _ResultCodes.TARGET_STATUS_NOT_SUCCESS: TargetStatusNotSuccess, |
145 | 135 | _ResultCodes.TARGET_STATUS_PROCESSING: TargetStatusProcessing, |
146 | 136 | _ResultCodes.UNKNOWN_TARGET: UnknownTarget, |
147 | | ->>>>>>> origin/master |
148 | 137 | } |
149 | 138 |
|
150 | 139 |
|
|
0 commit comments