From acdd4629a6484cda5e297fbcf35802380e3f028d Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Mon, 1 Jun 2015 07:32:53 +0200 Subject: [PATCH] Python3 change, replace file() with open() --- relational/relation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational/relation.py b/relational/relation.py index b79ba43..36abf1b 100644 --- a/relational/relation.py +++ b/relational/relation.py @@ -74,7 +74,7 @@ class relation (object): it will use the old format with space separated values. ''' - fp = file(filename, 'w') # Opening file in write mode + fp = open(filename, 'w') # Opening file in write mode writer = csv.writer(fp) # Creating csv writer