ajack 2003/10/18 15:24:56
Modified: python/gump logic.py document.py
Log:
The obligatory typos...
Revision Changes Path
1.31 +5 -5 jakarta-gump/python/gump/logic.py
Index: logic.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/logic.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- logic.py 18 Oct 2003 22:20:27 -0000 1.30
+++ logic.py 18 Oct 2003 22:24:56 -0000 1.31
@@ -353,17 +353,17 @@
# Equal if same string
def __eq__(self,other):
if not isinstance(other,AnnotatedPath):
- otherPath == other
+ otherPath = other
else:
- otherPath == other.path
- return self.path = otherPath
+ otherPath = other.path
+ return self.path == otherPath
# Equal if same string
def __cmp__(self,other):
if not isinstance(other,AnnotatedPath):
- otherPath == other
+ otherPath = other
else:
- otherPath == other.path
+ otherPath = other.path
cmp = self.path < otherPath
return cmp
1.85 +1 -1 jakarta-gump/python/gump/document.py
Index: document.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- document.py 18 Oct 2003 22:20:27 -0000 1.84
+++ document.py 18 Oct 2003 22:24:56 -0000 1.85
@@ -873,7 +873,7 @@
line=''
commandLine=''
for part in parts:
- if (len(line) + len(part)) > 80
+ if (len(line) + len(part)) > 80:
commandLine += line
commandLine += '\n '
line=part
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]