corrected problem with article items and the rectangle/triangle thing

modified:   modules/deploy.py
This commit is contained in:
Ronny Abraham 2016-11-10 16:03:15 +02:00
parent 1fce8f0c54
commit 9c032714c5

View file

@ -327,11 +327,11 @@ def sync(full=True, extras=False):
@task @task
def media(destination_branch): def media(source_branch):
""" """
sync media files from current branch to destination branch sync media files from source branch to current branch
destination_branch - the branch to which we are copying media files source_branch - the branch to which we are copying media files
""" """
configuration = env.config configuration = env.config
@ -339,10 +339,8 @@ def media(destination_branch):
print configuration.project.branch print configuration.project.branch
configuration_dst = initialize.get_config( configuration_src = initialize.environment(source_branch)
destination_branch) configuration_dst = configuration
configuration_src = configuration
print "branch_src: %s" % configuration_src.project.branch print "branch_src: %s" % configuration_src.project.branch
print "branch_dst: %s" % configuration_dst.project.branch print "branch_dst: %s" % configuration_dst.project.branch
@ -394,6 +392,7 @@ def media(destination_branch):
# configuration_dst = initialize.environment( # configuration_dst = initialize.environment(
# destination_branch) # destination_branch)
print "upstream: %s" % upstream
print "\ncopy from {src} to {dst}\n".format( print "\ncopy from {src} to {dst}\n".format(
src=configuration_src.project.host, src=configuration_src.project.host,
dst=configuration_dst.project.host) dst=configuration_dst.project.host)