ClearCase Python 2.4 incompatibility hotfix
Review Request #2395 — Created June 11, 2011 and submitted
Do not use os.path.relpath function if python version does not have one. Ready to commit!
Need work
- Change Summary:
-
Fix problem in both places where relpath function was used not only in one place. Need testing.
- Diff:
-
Revision 2 (+15 -14)
GY
-
-
-
Related to comment 1. For me, it's giving a problem. Something like, relpath() takes only two args, whereas at this line we are passing 3. self is an implicit argument, I believe.
-
Again, this gives me a problem. self.relpath() to be resolved to which function/method? relpath() is defined there in ClearCaseTool class, whereas at this line #, we want it in ClearCaseDiffParser