From 3c1f1202995f9b7cdf581b67846830a443f99377 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Mon, 28 Jan 2013 22:00:31 +0000 Subject: Fix send patches on python 2 --- (limited to 'commands') 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"] -- cgit v0.9.1