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

Commit 9810a85

Browse files
OCoppingcoretl
andcommitted
Update src/dls_python3_skeleton/__main__.py
Removed unnecessary stringification Co-authored-by: Tom C (DLS) <[email protected]>
1 parent 499944d commit 9810a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dls_python3_skeleton/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def replace_text(text: str) -> str:
6868

6969
branches = [x[2:] for x in str(git("branch", "--list")).split("\n")]
7070

71-
if f"{MERGE_BRANCH}" in branches:
71+
if MERGE_BRANCH in branches:
7272
raise Exception(
7373
f"{MERGE_BRANCH} already exists. \
7474
Please run 'dls-python3-skeleton clean' to remove it."

0 commit comments

Comments
 (0)