Skip to content

Commit c2d2a32

Browse files
committed
Unused method
1 parent 8bcea41 commit c2d2a32

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/stack/build/build_util.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,9 @@ def __repr__(self):
6767
return str(self)
6868

6969
def __str__(self):
70-
ret = self.toJSON()
70+
ret = { "name": self.name, "ref": self.ref, "build": self.build, "path": self.path, "file_path": self.file_path }
7171
return json.dumps(ret)
7272

73-
def toJSON(self):
74-
return { "name": self.name, "ref": self.ref, "build": self.build, "path": self.path, "file_path": self.file_path }
75-
7673
def init_from_file(self, file_path: Path):
7774
self.file_path = Path(file_path).as_posix()
7875
self.path = Path(self.file_path).parent.as_posix()

0 commit comments

Comments
 (0)