Changeset 1199
- Timestamp:
- 05/02/09 18:02:26 (3 years ago)
- File:
-
- 1 edited
-
trunk/applications/nxdiff (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/applications/nxdiff
r1198 r1199 86 86 self.summary = Diff.SAME 87 87 88 def __shortPath(self): 89 mypath= self.path.split("/") 90 mypath = [item.split(":")[0] for item in mypath] 91 return '/'.join(mypath) 92 88 93 def __str__(self): 89 result = "%s %s" % (getDiffSym(self.summary, self.__format), self.path) 94 result = "%s %s" % (getDiffSym(self.summary, self.__format), \ 95 self.__shortPath()) 90 96 if self.summary == Diff.DIFF: 91 97 result += " " + " ".join(self.details)
Note: See TracChangeset
for help on using the changeset viewer.
