aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/nixpkgs_drv_pname.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/nixpkgs_drv_pname.py b/bin/nixpkgs_drv_pname.py
index 24a8d16..52852cf 100755
--- a/bin/nixpkgs_drv_pname.py
+++ b/bin/nixpkgs_drv_pname.py
@@ -15,10 +15,11 @@ from typing import Set
class drv:
drv: str
pname: str
- input_drv_pnames: Set[str] = set()
+ input_drv_pnames: Set[str]
cursor: sqlite3.Cursor
def __init__(self, drv_string: str, cursor: sqlite3.Cursor) -> None:
+ self.input_drv_pnames = set()
self.cursor = cursor
j = json.loads(drv_string)