~pwlars/lava-test/uninstall

« back to all changes in this revision

Viewing changes to abrek/utils.py

  • Committer: Paul Larson
  • Date: 2010-06-29 21:23:04 UTC
  • mfrom: (8.1.7 abrek-run)
  • Revision ID: paul.larson@canonical.com-20100629212304-78lz9cdytxu6yah1
Add support for running tests, a run command, and an example using this

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        fd.close()
17
17
        response.close()
18
18
    except:
19
 
        raise RuntimeError, "Could not retrieve %s" % url
 
19
        raise RuntimeError("Could not retrieve %s" % url)
20
20
    return filename
21
21
 
22
22
def write_file(data,path):