Skip to content

Commit fbc131c

Browse files
committed
Replaced an obsolete file() call with open().
- Legacy-Id: 16396
1 parent 77e0552 commit fbc131c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ietf/secr/utils/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_charter_text(group):
2727
'''
2828
charter = group.charter
2929
path = os.path.join(settings.CHARTER_PATH, '%s-%s.txt' % (charter.canonical_name(), charter.rev))
30-
f = file(path,'r')
30+
f = open(path,'r')
3131
text = f.read()
3232
f.close()
3333

0 commit comments

Comments
 (0)