git-repo/subcmds
Mike Frysinger 31067c0ac5 tweak raise/dict syntax for Python 3 compat
Use the `raise` statement directly.

Switch to using .items() instead of .iteritems().  Python 3 doesn't
have .iteritems() as .items() is a generator, and these are small
enough that the Python 2 overhead should be negligible.

We have to run .keys() through list() in a few places as Python 3
uses a generator and we sometimes want to iterate more than once.
That's why we don't change all .keys() or .items() calls -- most
are in places where generators are fine.

Bug: https://crbug.com/gerrit/10418
Change-Id: I469899d9b77ffd77ccabb831bc4b217407fefe6f
2019-06-13 13:39:25 +00:00
..
__init__.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
abandon.py tweak raise/dict syntax for Python 3 compat 2019-06-13 13:39:25 +00:00
branches.py update markdown/help header format 2018-10-10 01:28:43 -04:00
checkout.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
cherry_pick.py Fix 'repo cherry-pick' to avoid hanging on commit-msg update. 2015-06-22 08:00:20 -04:00
diff.py Option for 'repo diff' to generate output suitable for 'patch' cmd 2012-04-13 09:20:10 -07:00
diffmanifests.py diffmanifests: honor user-supplied manifest paths 2019-06-06 07:36:10 +00:00
download.py Pass refs to ls-remote 2018-03-24 13:00:08 +05:30
forall.py update markdown/help header format 2018-10-10 01:28:43 -04:00
gitc_delete.py Remove unused pylint suppressions 2018-07-24 22:20:08 +08:00
gitc_init.py Fix gitc-init behavior 2015-10-07 15:43:22 -07:00
grep.py update markdown/help header format 2018-10-10 01:28:43 -04:00
help.py update markdown/help header format 2018-10-10 01:28:43 -04:00
info.py tweak raise/dict syntax for Python 3 compat 2019-06-13 13:39:25 +00:00
init.py Honor --depth during repo init 2019-05-21 10:47:21 -06:00
list.py Support filtering by group on forall and list subcmd 2015-07-30 12:59:35 -05:00
manifest.py manifest-format: convert to markdown 2018-10-05 19:32:51 -04:00
overview.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
prune.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
rebase.py Add option to rebase onto project's manifest version 2016-01-28 10:20:03 -08:00
selfupdate.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
smartsync.py Clean up imports 2012-09-18 09:54:57 +02:00
stage.py Fix "list comprehension redefines 'x'" warnings from pyflakes 2017-07-10 23:26:04 +00:00
start.py When starting a branch, do not use a tag or change value for branch.merge 2017-08-25 09:10:29 +09:00
status.py Add support for long paths 2018-10-22 08:16:35 -07:00
sync.py sync: deleted unused repos in reversed order (children before parent) 2019-04-06 00:49:47 +08:00
upload.py Add option for git-repo to support 'silent' uploads 2018-11-05 14:01:05 -08:00
version.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00