The reason the previous patch ([PATCH] tpclient-pywx-dev - comments to improve readability (Application class)) was so large was that my editor changed the line endings. Please disregard that patch and use this one in its place:

Attachment: 0001-Added-comments-to-the-tpclient-pywx-file-in-the-Appl.patch
Description: Binary data


From 441055ba07ae290f9ee50e27c9c7e1ceceadddba Mon Sep 17 00:00:00 2001
From: Greywhind <[EMAIL PROTECTED]>
Date: Tue, 21 Aug 2007 19:13:13 -0700
Subject: [PATCH] Added comments to the tpclient-pywx file in the Application class to make it clearer where the rest of the definition for the base Application class
is - this may help new developers to understand the code more easily.
(Note: Now using correct Unix line endings.)
---
 tpclient-pywx |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tpclient-pywx b/tpclient-pywx
index 34be972..9da71a2 100755
--- a/tpclient-pywx
+++ b/tpclient-pywx
@@ -310,6 +310,9 @@ class Network(NetworkThread):
                        return
                gui.Call( gui.main.statusbar.SetEndTime, timeRemaining)

+"""\
+Note: Further definition for Application can be found in tp.client.threads.
+"""
 _Application = Application
 class Application(_Application):
        def __init__(self, url=None):
@@ -322,6 +325,9 @@ class Application(_Application):
                Set the application running.
                """
                self.gui.Show(self.gui.connectto)
+               """\
+ Note: self.gui is initialized in the tp.client.threads Application class.
+               """
                _Application.Run(self)

        def ConfigDisplay(self):
--
1.5.2.2

-----------------------------------
Sorry about that.

- Greywhind
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to