Skip to content

Commit

Permalink
Fix Python 2.5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnix committed Sep 11, 2012
1 parent ad61126 commit ee4978b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fabtools/openvz/contextmanager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""
Fabric tools for managing OpenVZ containers
"""
from __future__ import with_statement

from contextlib import contextmanager
import hashlib
import os.path
Expand Down
2 changes: 2 additions & 0 deletions fabtools/tests/fabfiles/openvz.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import with_statement

import time

from fabric.api import *
Expand Down
2 changes: 2 additions & 0 deletions fabtools/vagrant.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import with_statement

from fabric.api import *


Expand Down

0 comments on commit ee4978b

Please sign in to comment.