On Nov 11, 10:22 am, Florian Lindner [EMAIL PROTECTED] wrote:
Hello,
I have a piece of code like that:
for row in resultSet:
logs += /home/%s/%s/log/access.log \n % (row[1], row[0])
logs += /home/%s/%s/log/error.log \n % (row[1], row[0]) # --
Now I want to avoid the
On Sun, 11 Nov 2007 11:22:19 +0100, Florian Lindner wrote:
Hello,
I have a piece of code like that:
for row in resultSet:
logs += /home/%s/%s/log/access.log \n % (row[1], row[0])
logs += /home/%s/%s/log/error.log \n % (row[1], row[0]) # --
Now I want to avoid the
Florian Lindner [EMAIL PROTECTED] writes:
for row in resultSet:
logs += /home/%s/%s/log/access.log \n % (row[1], row[0])
logs += /home/%s/%s/log/error.log \n % (row[1], row[0]) # --
def logfile_path(name, row):
return /home/%s/%s/log/%s % (row[1], row[0], name)
logs
Steven D'Aprano wrote:
On Sun, 11 Nov 2007 11:22:19 +0100, Florian Lindner wrote:
Hello,
I have a piece of code like that:
for row in resultSet:
logs += /home/%s/%s/log/access.log \n % (row[1], row[0])
logs += /home/%s/%s/log/error.log \n % (row[1], row[0]) # --