summaryrefslogtreecommitdiff
path: root/cli/ghpr.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ghpr.py')
-rw-r--r--cli/ghpr.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/ghpr.py b/cli/ghpr.py
index 05c08ad..926a338 100644
--- a/cli/ghpr.py
+++ b/cli/ghpr.py
@@ -1,8 +1,6 @@
import click
-import sys
from pathlib import Path
-from subprocess import run
from .base import cli
@@ -14,8 +12,7 @@ ROOT_PATH = Path(__file__).parents[1]
def ghpr(path):
with open(path, "r") as f:
for line in f:
- l = line.strip().split(",")
- domain, handle, name = [x.strip() for x in l]
+ domain, handle, name = [x.strip() for x in line.strip().split(",")]
handle = None if "@" in handle else handle
fn = domain.replace(".", "")