mirror of https://github.com/zulip/zulip.git
upgrade: Fix str/bytes type error.
This commit is contained in:
parent
90c5b53da3
commit
ddb85c9cb1
|
@ -96,7 +96,7 @@ if not args.skip_migrations:
|
||||||
migrations_output = subprocess.check_output(["./manage.py", "showmigrations"],
|
migrations_output = subprocess.check_output(["./manage.py", "showmigrations"],
|
||||||
preexec_fn=su_to_zulip)
|
preexec_fn=su_to_zulip)
|
||||||
for ln in migrations_output.split(b"\n"):
|
for ln in migrations_output.split(b"\n"):
|
||||||
if ln.strip().startswith("[ ]"):
|
if ln.strip().startswith(b"[ ]"):
|
||||||
migrations_needed = True
|
migrations_needed = True
|
||||||
|
|
||||||
# Now we start shutting down services; we start with
|
# Now we start shutting down services; we start with
|
||||||
|
|
Loading…
Reference in New Issue