added comments

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@128 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2009-04-28 17:41:21 +07:00
parent b8a82e6961
commit 169f809988
1 changed files with 2 additions and 2 deletions

@ -67,7 +67,7 @@ class relation (object):
with spaces, you should avoid using it.'''
fp=file(filename,'w') #Opening file in write mode
if comma_separated:
if comma_separated: #writing csv
writer=csv.writer(fp) #Creating csv writer
#It wants an iterable containing iterables
@ -77,7 +77,7 @@ class relation (object):
#Writing content, already in the correct format
writer.writerows(self.content)
else:
else: #Writing in the old, deprecated, format
res=""
res+=" ".join(self.header.attributes)