Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit f7137d7

Browse files
committed
Python 2.5 compatibility: with statement
1 parent 9e0714a commit f7137d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

sassutils/builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
44
"""
5+
from __future__ import with_statement
6+
57
import collections
68
import os
79
import os.path

sassutils/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
44
"""
5-
from __future__ import absolute_import
5+
from __future__ import absolute_import, with_statement
66

77
import collections
88
import os

0 commit comments

Comments
 (0)