Den Ivanov avatar 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.