- def ignore(self, name):
- with open(os.path.join(self.folder, '.git', 'info', 'exclude'), 'r+') as f:
- for line in f:
- line = line.replace('\n', '').replace('\r', '')
- if line == name: return # is already ignored
- print >>f, name # add ignore line
-
-class KDEGit(Git):
- def __init__(self, folder, name, commit):
- Git.__init__(self, folder, 'kde:'+name, commit)
-