#579 tamamen kapandi..

Cunku pardus-devel deposuna 1790. commit ile commit edilen yama ile olusturulan yeni python rootfs 0.2 ile dagitilmaya baslandi..
This commit is contained in:
A. Murat Eren
2005-11-09 10:56:00 +00:00
parent b90659043f
commit 48b2837f0e
+1 -1
View File
@@ -179,7 +179,7 @@ def dosed(sourceFiles, findPattern, replacePattern = ''):
for sourceFile in glob.glob(sourceFiles):
if can_access_file(sourceFile):
for line in fileinput.input(str(sourceFile), inplace = 1):
for line in fileinput.input(sourceFile, inplace = 1):
#FIXME: In-place filtering is disabled when standard input is read
line = re.sub(findPattern, replacePattern, line)
sys.stdout.write(line)