~nskaggs/juju-release-tools/generate-release-notes

« back to all changes in this revision

Viewing changes to generate_agents.py

  • Committer: Curtis Hovey
  • Date: 2017-01-25 16:19:47 UTC
  • mto: This revision was merged to the branch mainline in revision 364.
  • Revision ID: curtis@canonical.com-20170125161947-5g7vcicsb03rutvs
Fixed test to check that all ubuntu arch stanzas are created.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        writer.write_stanzas()
61
61
        agent_path = os.path.join(dest_debs, writer.path)
62
62
        shutil.copy2(tarfile, agent_path)
63
 
        arch_name = '{}-{}'.format(arch, writer.filename)
64
 
        shutil.move(writer.filename, os.path.join(dest_debs, arch_name))
 
63
        shutil.move(writer.filename, os.path.join(dest_debs, writer.filename))
65
64
 
66
65
 
67
66
def make_windows_agent(dest_debs, agent_stream, release):