diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-28 22:00:31 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-28 22:00:31 (GMT) |
commit | 3c1f1202995f9b7cdf581b67846830a443f99377 (patch) | |
tree | 05afd6c245cbf2da06d0f9b77bfa9a65f331511b /commands | |
parent | a5cf6792cbdd78ab21d2979993633620000e0616 (diff) |
Fix send patches on python 2
Diffstat (limited to 'commands')
-rwxr-xr-x | commands/send-patches | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/commands/send-patches b/commands/send-patches index 8a0fe1a..2af5861 100755 --- a/commands/send-patches +++ b/commands/send-patches @@ -13,6 +13,12 @@ from devbot import config GIT_CONFIG_SETUP = "sugar-build.send-patches.setup" +try: + input = raw_input +except NameError: + pass + + def get_git_config(name, is_global=False): args = ["git", "config"] |