~ubuntu-branches/ubuntu/saucy/telepathy-mission-control-5/saucy

« back to all changes in this revision

Viewing changes to tests/twisted/crash-recovery/crash-recovery.py

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2013-01-10 11:07:51 UTC
  • mfrom: (0.13.5)
  • Revision ID: package-import@ubuntu.com-20130110110751-fzge1h4wgrwqu1zi
Tags: 1:5.14.0-0ubuntu1
* New upstream release
* debian/control:
  - Use standards version 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
def preseed():
35
35
    accounts_dir = os.environ['MC_ACCOUNT_DIR']
36
36
 
 
37
    try:
 
38
        os.mkdir(accounts_dir, 0700)
 
39
    except OSError:
 
40
        pass
 
41
 
37
42
    accounts_cfg = open(accounts_dir + '/accounts.cfg', 'w')
38
43
 
39
44
    accounts_cfg.write("""# Telepathy accounts