From patchwork Sat Feb 17 09:54:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D2290: printenv: port to python3 From: phabricator X-Patchwork-Id: 28015 Message-Id: <72ddbe152c26449f82ec7fecbe57c86d@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Sat, 17 Feb 2018 09:54:01 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGcdf4eecddbe5: printenv: port to python3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2290?vs=5795&id=5802 REVISION DETAIL https://phab.mercurial-scm.org/D2290 AFFECTED FILES tests/printenv.py CHANGE DETAILS To: durin42, #hg-reviewers, pulkit Cc: mercurial-devel diff --git a/tests/printenv.py b/tests/printenv.py --- a/tests/printenv.py +++ b/tests/printenv.py @@ -35,7 +35,7 @@ # variables with empty values may not exist on all platforms, filter # them now for portability sake. -env = [(k, v) for k, v in os.environ.iteritems() +env = [(k, v) for k, v in os.environ.items() if k.startswith("HG_") and v] env.sort()