corrected problem with article items and the rectangle/triangle thing
modified: modules/deploy.py
This commit is contained in:
parent
1fce8f0c54
commit
9c032714c5
1 changed files with 6 additions and 7 deletions
|
|
@ -327,11 +327,11 @@ def sync(full=True, extras=False):
|
|||
|
||||
|
||||
@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
|
||||
|
||||
|
|
@ -339,10 +339,8 @@ def media(destination_branch):
|
|||
|
||||
print configuration.project.branch
|
||||
|
||||
configuration_dst = initialize.get_config(
|
||||
destination_branch)
|
||||
|
||||
configuration_src = configuration
|
||||
configuration_src = initialize.environment(source_branch)
|
||||
configuration_dst = configuration
|
||||
|
||||
print "branch_src: %s" % configuration_src.project.branch
|
||||
print "branch_dst: %s" % configuration_dst.project.branch
|
||||
|
|
@ -394,6 +392,7 @@ def media(destination_branch):
|
|||
# configuration_dst = initialize.environment(
|
||||
# destination_branch)
|
||||
|
||||
print "upstream: %s" % upstream
|
||||
print "\ncopy from {src} to {dst}\n".format(
|
||||
src=configuration_src.project.host,
|
||||
dst=configuration_dst.project.host)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue