Skip to content

Commit d1c4c04

Browse files
committed
Fix failing snapshot test for pgpartition
1 parent 66634e9 commit d1c4c04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

psqlextra/management/commands/pgpartition.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import sys
2+
13
from typing import Optional
24

35
from django.conf import settings
@@ -83,7 +85,7 @@ def handle(
8385
return
8486

8587
if not yes:
86-
print("Do you want to proceed? (y/N) ")
88+
sys.stdout.write("Do you want to proceed? (y/N) ")
8789

8890
if not self._ask_for_confirmation():
8991
print("Operation aborted.")

0 commit comments

Comments
 (0)