~matsubara/maas/precise-tests

« back to all changes in this revision

Viewing changes to utils.py

  • Committer: Diogo Matsubara
  • Date: 2014-02-27 19:35:59 UTC
  • mto: This revision was merged to the branch mainline in revision 236.
  • Revision ID: diogo.matsubara@canonical.com-20140227193559-oxqbocu4vav8qhjo
remove update_pxe_config since it's not doing anything anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
    return process.returncode, stdout, stderr
84
84
 
85
85
 
86
 
def update_pxe_config():
87
 
    content = open('/etc/maas/import_pxe_files').read()
88
 
    content = content.replace(
89
 
        '#RELEASES="precise quantal raring saucy"',
90
 
        'RELEASES="precise saucy"')
91
 
    with open('/etc/maas/import_pxe_files', 'w') as f:
92
 
        f.write(content)
93
 
 
94
 
 
95
86
def retries(timeout=30, delay=1):
96
87
    """Helper for retrying something, sleeping between attempts.
97
88