Index: git_try.py |
=================================================================== |
--- git_try.py (revision 104628) |
+++ git_try.py (working copy) |
@@ -51,11 +51,11 @@ |
rietveld_url = GetRietveldServerUrl() |
if rietveld_url: |
args.extend(['--rietveld_url', GetRietveldServerUrl()]) |
- # Hack around a limitation in logging. |
- logging.getLogger().handlers = [] |
try: |
cl = git_cl.Changelist() |
change = cl.GetChange(cl.GetUpstreamBranch(), None) |
+ # Hack around a limitation in logging. |
+ logging.getLogger().handlers = [] |
sys.exit(trychange.TryChange( |
args, change, swallow_exception=False, |
prog='git try', |