[gedit-plugins] git: Fix typo in debug() comment



commit 5cb2a14fdcf7d0bdb8a5e79eded484b611162133
Author: Garrett Regier <garrettregier gmail com>
Date:   Sun Aug 17 18:28:47 2014 -0700

    git: Fix typo in debug() comment

 plugins/git/git/debug.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/git/git/debug.py b/plugins/git/git/debug.py
index e36c4d2..0e6bbfa 100644
--- a/plugins/git/git/debug.py
+++ b/plugins/git/git/debug.py
@@ -59,8 +59,8 @@ def debug(msg, *, frames=1, print_stack=False, limit=None):
         if full_message.getvalue()[-1] != '\n':
             full_message.write('\n')
  
-        # Always write the message in a single call to avoid to
-        # avoid having the message get split when threads call it
+        # Always write the message in a single call to prevent
+        # the message from being split when using multiple threads
         sys.stderr.write(full_message.getvalue())
  
         full_message.close()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]