Minor
This commit is contained in:
1 parent
c6641523d1
commit
77989698e1
2 files changed
+3
-2
No files matched your search
Vendored
+1
-1
@@ -56,7 +56,7 @@ def deploy():
|
||||
with virtualenv():
|
||||
run('git pull') # Get source
|
||||
run('pip install -r requirements.txt') # install deps in virtualenv
|
||||
run('python manage.py collectstatic --noinput') # Collect static
|
||||
run('umask 002; python manage.py collectstatic --noinput') # Collect static
|
||||
run('python manage.py migrate') # Run DB migrations
|
||||
|
||||
# Reload gunicorn
|
||||
|
||||
+2
-1
@@ -26,6 +26,8 @@ class DjangoPostfixDovecotAPI(object):
|
||||
json=json,
|
||||
headers=headers)
|
||||
|
||||
r.raise_for_status()
|
||||
|
||||
return r.json()
|
||||
|
||||
def create_aliases(self, aliases):
|
||||
@@ -40,7 +42,6 @@ class DjangoPostfixDovecotAPI(object):
|
||||
'domain__name': settings.NEUF_EMAIL_DOMAIN_NAME,
|
||||
'source_regex': regex
|
||||
}
|
||||
print params
|
||||
return self._api(
|
||||
'GET',
|
||||
'/aliases/',
|
||||
|
||||
Reference in new issue
Block a user