Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Commit d4da1f6

Browse files
committed
fix format issues
1 parent 9f026f1 commit d4da1f6

File tree

2 files changed

+0
-159
lines changed

2 files changed

+0
-159
lines changed

python/selfie-lib/selfie_lib/SnapshotFile.py

Lines changed: 0 additions & 134 deletions
This file was deleted.

python/selfie-lib/selfie_lib/SnapshotValue.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
from abc import ABC, abstractmethod
2-
from typing import Union
3-
# from .SnapshotValueBinary import SnapshotValueBinary
4-
# from .SnapshotValueString import SnapshotValueString
52

63

74
def unix_newlines(string: str) -> str:
@@ -43,17 +40,6 @@ def value_binary(self) -> bytes:
4340
def value_string(self) -> str:
4441
raise NotImplementedError("This is a binary value.")
4542

46-
# def __bytes__(self):
47-
# return self._value
48-
49-
# def __repr__ (self):
50-
# return self.__bytes__()
51-
52-
# def __eq__(self, other):
53-
# if not isinstance(other, SnapshotValueBinary):
54-
# return False
55-
# return self._value == other._value
56-
5743
def __eq__(self, other):
5844
if isinstance(other, SnapshotValueBinary):
5945
return self.value_binary() == other.value_binary()
@@ -73,17 +59,6 @@ def value_binary(self) -> bytes:
7359
def value_string(self) -> str:
7460
return self._value
7561

76-
# def __str__(self):
77-
# return self._value
78-
79-
# def __repr__ (self):
80-
# return self.__str__()
81-
82-
# def __eq__(self, other):
83-
# if not isinstance(other, SnapshotValueString):
84-
# return False
85-
# return self._value == other._value
86-
8762
def __eq__(self, other):
8863
if isinstance(other, SnapshotValueString):
8964
return self.value_string() == other.value_string()

0 commit comments

Comments
 (0)