mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
upgrade-zulip: Fix bug in migrations detection.
This commit is contained in:
@@ -87,7 +87,7 @@ if not args.skip_migrations:
|
||||
migrations_output = subprocess.check_output(["./manage.py", "showmigrations"],
|
||||
preexec_fn=su_to_zulip)
|
||||
for ln in migrations_output.split(b"\n"):
|
||||
if ln.startswith("[ ]"):
|
||||
if ln.strip().startswith("[ ]"):
|
||||
migrations_needed = True
|
||||
|
||||
# Now we start shutting down services; we start with
|
||||
|
||||
Reference in New Issue
Block a user