mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Fix some silly fabric issues
This commit is contained in:
4
fabfile.py
vendored
4
fabfile.py
vendored
@@ -92,9 +92,7 @@ def setup_rabbitmq():
|
||||
sudo('rabbitmqctl add_vhost %s' % env.vhost, shell=False)
|
||||
sudo('rabbitmqctl set_permissions -p %s %s ".*" ".*" ".*"' % (env.vhost, env.user), shell=False)
|
||||
|
||||
with cd('%(path)s/dreddit-auth/' % env):
|
||||
put('brokersettings.py', '.')
|
||||
|
||||
put('brokersettings.py', '%(path)s/dreddit-auth/')
|
||||
os.unlink('brokersettings.py')
|
||||
|
||||
def deploy_repo():
|
||||
|
||||
@@ -17,7 +17,7 @@ MANAGERS = ADMINS
|
||||
from dbsettings import *
|
||||
|
||||
# Import the Broker settings
|
||||
from brokersettings.py import *
|
||||
from brokersettings import *
|
||||
|
||||
# Local time zone for this installation. Choices can be found here:
|
||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
||||
|
||||
Reference in New Issue
Block a user