diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2018-04-06 09:36:53 +1000 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2018-04-06 09:36:53 +1000 |
commit | 5915d6a6003db2873f036fe48c373bff2eca5440 (patch) | |
tree | ba77729ad8decc0f2f58c63e99c15bc58a5bcc49 /mach | |
parent | d741fabf2b670212e5c27b4f7ad74d17a08fe1d0 (diff) | |
download | nss-hg-5915d6a6003db2873f036fe48c373bff2eca5440.tar.gz |
Bug 1451955 - python3 compatibility fix for reading, r=ttaubert
Diffstat (limited to 'mach')
-rwxr-xr-x | mach | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ class cfAction(argparse.Action): files = [] if os.path.exists(os.path.join(cwd, '.hg')): st = subprocess.Popen(['hg', 'status', '-m', '-a'], - cwd=cwd, stdout=subprocess.PIPE) + cwd=cwd, stdout=subprocess.PIPE, universal_newlines=True) for line in iter(st.stdout.readline, ''): files += [line[2:].rstrip()] elif os.path.exists(os.path.join(cwd, '.git')): |