Skip to content

Commit 9730075

Browse files
committed
Drop an unused condition
1 parent a134a69 commit 9730075

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

single-updater.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,7 @@ def main():
253253
logging.error("Failed to create new branch")
254254
return 1
255255
else:
256-
logging.error(
257-
"The repository is dirty after running auto_updater"
258-
if is_dirty()
259-
else "Failed to checkout new branch"
260-
)
256+
logging.error("The repository is dirty after running auto_updater")
261257
return 1
262258

263259
return 0

0 commit comments

Comments
 (0)