Skip to content

Commit d9608b5

Browse files
committed
MB-63213: Remove incorrect task __init__
Incorrectly initializes the superclass which causes there to be hidden behavior where the output of the literal task is interpolated directly into the header of the task. The easisest solution is removing the super().__init__() call and accepting a divergence in the class hierarchy as there is in the functionality. This change was likely an oversight from the start and shouldn't have been included in the initial change: a31efb9 Change-Id: I9b27485c1504d83b36102ffe4b2b2f76bec1447e Reviewed-on: https://review.couchbase.org/c/ns_server/+/214618 Well-Formed: Restriction Checker Well-Formed: Build Bot <[email protected]> Tested-by: Bryan McCoid <[email protected]> Reviewed-by: Peter Searby <[email protected]>
1 parent d827e0d commit d9608b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cbcollect_info

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,6 @@ class LiteralTask(AllOsTask):
917917

918918
def __init__(self, description, literal, timeout=None,
919919
log_file=DEFAULT_LOG, no_header=False):
920-
super().__init__(description, literal)
921920
self.description = description
922921
self.literal = literal
923922
self.timeout = timeout

0 commit comments

Comments
 (0)