~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/changeset.py

  • Committer: Aaron Bentley
  • Date: 2005-09-14 20:06:48 UTC
  • mto: (1185.1.29)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: abentley@panoramicfeedback.com-20050914200648-030b6c1e34fabaa6
Removed unused dir parameter from ExceptionConflictHandler

Show diffs side-by-side

added added

removed removed

Lines of Context:
1003
1003
    descend from this class if they have a better way to handle some or
1004
1004
    all types of conflict.
1005
1005
    """
1006
 
    def __init__(self, dir):
1007
 
        self.dir = dir
1008
 
    
1009
1006
    def missing_parent(self, pathname):
1010
1007
        parent = os.path.dirname(pathname)
1011
1008
        raise Exception("Parent directory missing for %s" % pathname)
1084
1081
    :rtype: Dictionary
1085
1082
    """
1086
1083
    if conflict_handler is None:
1087
 
        conflict_handler = ExceptionConflictHandler(dir)
 
1084
        conflict_handler = ExceptionConflictHandler()
1088
1085
    temp_dir = os.path.join(dir, "bzr-tree-change")
1089
1086
    try:
1090
1087
        os.mkdir(temp_dir)