Commits

Den Ivanov committed 66832ee

Add compatibility with Python 2.5.

Comments (0)

Files changed (6)

fab_deploy/apache.py

+from __future__ import with_statement
 import re
 from fabric.api import *
 from fabric.contrib.files import append

fab_deploy/mysql.py

+from __future__ import with_statement
 from datetime import datetime
 from fabric.api import *
 from fab_deploy.utils import run_as, inside_project, detect_os

fab_deploy/nginx.py

+from __future__ import with_statement
 from fabric.api import run, env, settings
 from fab_deploy.utils import run_as, upload_config_template, detect_os
 from fab_deploy.system import aptitude_install

fab_deploy/utils.py

+from __future__ import with_statement
 import os
 import pprint
 from re import match

fab_deploy/vcs/none.py

+from __future__ import with_statement
 import os.path
 from datetime import datetime
 from fabric.api import *

fab_deploy/virtualenv.py

+from __future__ import with_statement
 from fabric.api import run, env, cd
 from fab_deploy.apache import touch
 from fab_deploy.utils import inside_project